Todo's API :
Routes | HTTP | Description |
---|---|---|
/signin | POST | Signin Endpoint to get Auth-Token |
/users | GET | All User Data |
/users | POST | Create New User |
/users/:id | GET | Get One User Information |
/todos/user | GET | To Get his/her Todo after logged in |
/todos/ | POST | Create New Todo (auth user) |
/todos/:id | PUT | Edit Todo Name (auth user) |
/todos/:id | PUT | Edit Todo Status 'done or not' (auth user) |
- npm install
- npm start
- npm run dev
local ver: Access the website via http://localhost/3000 or API via http://localhost:3000/ .