This project is a boilerplate of a basic node API model for you if you want to start a new RESTFUL API with node and mongoose it's perfect for you if you just need a model to start (with authentification (Bearer)) Node|express|MongoDB
Use the package manager npm you also need nodejs and mongodb if you want to use the model.
but i think you already know that
Install Node modules
npm install
create and config .env File
touch ./config/dev.env
touch ./config/test.env
echo "PORT=value_port" >> ./config/dev.env
echo "MONGODB_URL=mongodb://127.0.0.1:27017/database_name" >> ./config/dev.env
echo "DEBUG_MODE=true" >> ./config/dev.env
launch the dev environment
npm run dev
launch the Test environment
npm run dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.