ROUTE | HTTP | HEADERS | BODY | DESCRIPTION |
---|---|---|---|---|
/TODOS | POST | TOKEN | TITLE:string,DESCRIPTION:string,STATUS:string | Create Todos |
/TODOS | GET | TOKEN | NONE | GET TODO BY ID |
/TODOS/:ID | GET | TOKEN | NONE | GET TODOS BY ID |
/TODOS/:ID | PUT | TOKEN | TITLE:string,DESCRIPTION:string,STATUS:string | UPDATE CERTAIN TODO BY ID |
/DELETE/:ID | DELETE | TOKEN | NONE | DELETE TODO BY ID |
ROUTE | HTTP | HEADERS | BODY | DESCRIPTION |
---|---|---|---|---|
/USERS/REGISTER | POST | NONE | NAME:string,EMAIL:string,PASSWORD:string | Create Users |
/USERS/LOGIN | POST | NONE | NAME:string,EMAIL:string,PASSWORD:string | Login to Todos |
/TODOS/glSign | POST | NONE | NONE | LOGIN GL USERS |
- $ GIT CLONE
- Extract fancy-todo-client.zip
- $ npm install .. Do this in main folder and client folder
- run app.js (nodemon is better)
- on the client folder do live-server
- ....Profit
- HOLIDAYS .. i used this to show any Holiday or some religious event that happen in indonesia, but i disabled it (since it's kinda relevant)
- GOQR API .. used to generate qrCodes that contain your todos information.