percurnicus / opportunity Goto Github PK
View Code? Open in Web Editor NEWLocal web application to view images from Opportunity Rover
License: MIT License
Local web application to view images from Opportunity Rover
License: MIT License
Figure out a way to do a database migration with alembic to serve as an example
I got started with testing the database backend but still need to finish
Document the app
with sphinx. See about adding a Swagger Server for the API. Might be worth documenting the web app as well
Configure the test container to expose 5432:5433 like the actual app does. See https://docker-py.readthedocs.io/en/1.8.0/port-bindings/
The web app functions that interact with the REST API need to be tested. Use mock to test the api
Use python's asyncio to do tasks for the website asynchronously.
Also need to test the functions. See pytest-asyncio, also here
I should learn how to test angular code/javascript code in general. I should also learn the style guide for javascript/AngularJS
Remediation
Upgrade bootstrap to version 3.4.1 or later. For example:
"dependencies": {
"bootstrap": ">=3.4.1"
}
orβ¦
"devDependencies": {
"bootstrap": ">=3.4.1"
}
Store Passwords in a User Database
AND/OR:
Add SSO to web app
Add authentication to REST API
Stretch:
Emulate a production server with Docker (new docker-compose.yml or just commented portions of the docker-compose.yml or with environments).
For non asyncio branch:
For asyncio branch:
Create Continuous integration as an example of using docker for testing.
Finish #2 first.
Sanic is another asyncio web-framework. It would be worth creating a separate branch for to serve as an example.
Create just the home page where a user can do the following:
Document how to start the docker containers, and what to expect when one opens the page
Use websockets for the progress bar as an exercise.
I've never used cython and should learn how to as it can be a great tool to have. The example can be quite simple such as calculating the average and std of an image. Maybe even try performing a rotation using matrix multiplication. I feel like the proper example that is not too hard that I can't do it in the little time I have but not too easy that I don't actually learn anything will be clearer when I try it.
Cool to show how versioning can be done to keep track of old data
Right now, the api endpoints can only query by the id. Use the query params to query by more
Use pipenv for python package management
Make use of pythons type annotations and use MyPy for static checking
In a different branch, use Django for the database interface and MySQL as the database manager
Create a package.json for js apps. Should eventually used by gulp
Use a redish cache to store images already selected to improve the speed of displaying old images
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.