This project was developed with typescript, node.js, express, firebase.
node.js
install dependencies with
yarn
and run the server with command
yarn dev
Runs the app server in development mode and watches changes in code. port 4000
install dependencies with
yarn
build for production
yarn build
Runs the app server in development mode and watches changes in code. port 4000
yarn start
yarn test
| HTTP Method | URL | Description |
|---|---|---|
POST |
http://localhost:4000/api/tasks | Create new task |
PUT |
http://localhost:4000/api/tasks/{taskId} | Update task by ID |
GET |
http://localhost:4000/api/tasks/{taskId} | Get task by ID |
DELETE |
http://localhost:4000/api/tasks/{taskId} | Delete task by ID |
GET |
http://localhost:4000/api/tasks | Get All tasks |