This project serve like a base for others apis. Since a while ago I have been making changes in the api trying to develop a good pattern for a api rest in nodejs. In this repository there are severals branch with small changes. The branch I recomend to use is master-pro because it is the best API model I ever made. Currently I'm working in other changes to adapt the API with MongoDB. The branch name for that changes will call master-mongodb
Clone the project in a local folder
Install dependencies with npm
or yarn
running npm install
or yarn
in your terminal.
Next create a .env in the root of project folder and copy the content of .env.example in .env file and write your custom configuration parameters
Now you can start programming :)
You must have installed nodejs, npm (or yarn) in your server
You can run tests for this project in branches master-pro
and master-mongodb
with mocha
Just run npm test
or yarn test
- *Ricardo Rodríguez - RRicardotj