Simple Book Api
First Install Needed Packages:
npm install
You should installed mongodb before, then open variable.env
file and
put your mongodb connection string there, for example:
DATABASE=mongodb://127.0.0.1/books
First load sample data, run the following command in your terminal:
npm run sample
That will populate 4 Books. then Your Are ready To test. run the following command in your terminal:
mocha