Backend application for STodoList made by using nodejs, typescript, prisma and mongodb.
-
Cloning the repo
git clone https://github.com/Besufikad17/STodoList-server.git
-
Navigating to project directory
cd STodoList-server
-
Installing depedencies
npm install
-
Running the server
npm run dev
Endpoint | Body/Params | Request type | URL |
---|---|---|---|
Signup | { email, username, password } | POST | /api/signup |
Login | { username, password } | POST | /api/login |
GetTodoList | Parmas: id | GET | /api/todos/:id |
UpdateTodoList | Parmas: id | PUT | /api/update/:id |
ExportTodoList | Parmas: id | GET | /api/export/:id |