Node.js REST API boilerplate with Connect, Mongoose, Swagger
This is the example of the Node.js REST API backend for related React.js Web & React Native Mobile applications.
Set up a MongoDB database either locally or with MongoDB Atlas.
Set MongoDB variables in .env.development:
DB_HOST
- Database host nameDB_PORT
- Database port numberDB_NAME
- Database nameDB_USER
- Database usernameDB_PSW
- Database username password
npm install
npm run start:dev
Node.js
>= v16.13.0MongoDB
>= v3.6
Please see our LICENSE for copyright and license information.