adcar / vermontaholic Goto Github PK
View Code? Open in Web Editor NEWKeep track of your 251 Club progress!
Keep track of your 251 Club progress!
Get MySQL access and connect to it from Python. Create a new database in MySQL and decide how the schema should look
Create an API in Flask with the endpoints listed in #4. If anything is unintuitive / badly designed in the endpoint list feel free to adjust the endpoints accordingly.
GET /towns/<user>
- returns all towns in Vermont and the status of if they are visited by the user or not. JSON should look something like this:
[
{name: "Colchester", isVisited: "false"},
{name: "Essex", isVisited: "true"},
...
]
POST /<user>/visit/<town>/<date/time>
- mark a town as visited for a particular user (auth required)
POST /<user>/addPicture/<town>
- the POST body that the UI sends over will contain a base64 encoded version of the image as well as any comments (auth required)
POST /signup/<username>/<password>
- Hash this password and store it with the username in the database
POST /login/<username>/<password>
- Should return a user token
Authentication:
Every endpoint that requires authentication will mean the POST request will contain a user token. If this user token is not valid then respond with an error.
See #4 for how authentication should generally work (feel free to make changes / ask for clarification)
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.