Hi future, welcome to my little project, this time I created a simple REST API template using MongoDB, Express, and Nodejs, the purpose of this project is to make it easier for me to create simple APIs, and also to make it easier for friends who want to learn to make a simple API.
I tried to make Javascript the main language for making this API, and I also tried to make it as simple as possible, so friends who want to learn how to make a simple API can learn it from here.
- Clone this repository
- Install all dependencies
- Run
npm start
to start the server - Set your PORT and MONGODB_URI in .env file
- Run
npm run start
to start the server in development mode - Go to
http://localhost:PORT
to see the API documentation - You can test the API using Postman, please refer to the documentation in example.http file.
Enjoy!
You can contribute to this site by submitting pull request.
you can see the results of this repo through a live demo, hopefully you like it.
it may take longer to demonstrate the website the first time, please be patient and it will all show up soon.