A complete REST API for your to-do app including login, register and crud operations written using nodejs
This project is based on Nodejs. This is a complete ready to go api for a to do list app.
Install node packege manager using
npm install npm@latest -g
- Clone the repo
git clone https://github.com/githmin/todolist-api-nodejs.git
- cd into the directory
cd todolist-api-nodejs
- run below command to install dependencies
npm install
-
set .env variables
dbUrl = your mongodb url here
port = your desired port here
secret = jwt encoding secret here
Register ==> (Post request) ==> api/v1/login/register
Login ==> (Post request) ==> /api/v1/login
To add | delete | update | delete, make relevent requests to this path ==> /api/v1/
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Fork the Project
- Create your Feature Branch
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.