https://github.com/geekgurudev/todos-api
https://github.com/geekgurudev/todos-api
express-js expressjs mongodb mongoose node-js nodejs rest rest-api restful restful-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/geekgurudev/todos-api
- Owner: GeekGuruDev
- Created: 2022-02-06T14:24:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-15T01:32:25.000Z (over 4 years ago)
- Last Synced: 2025-06-08T14:42:50.124Z (about 1 year ago)
- Topics: express-js, expressjs, mongodb, mongoose, node-js, nodejs, rest, rest-api, restful, restful-api
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todos API
A simple Todos REST API built using:
* NodeJS
* Express
* MongoDB
* Mongoose
# Installation and Run
1. Clone the repository
```
https://github.com/Gurpreeet-Singh/todos-api
```
2. To install the dependencies, simply write
```
npm install
```
3. To run the app in development, simply write
```
npm run dev
```
# Endpoints
* GET `api/todos` - Get all Todos
* POST `api/todos` - Create new Todo
* GET `api/todos/:id` - Get Todo by id
* PATCH `api/todos/:id` - Update Todo by id
* DELETE `api/todos/:id` - Delete Todo by id