NEWS BACKEND

It is a simple server that provides the posibility to search news, store them and remove them. It is maked using node express library. This project was maked using node 8.14.0, but you can use every node that you wont, but the version will be equal or upper than node 8.

COMMANDS

npm run install

Use this command to install all dependencies.

npm run dev

This command start the server on development mode. So it will be start using nodemon. Sure that you have this dependency installed.

npm run test

This command start all tests.

STEPS:

1) Install mongodb on your computer.

2) On src/config create all configuration files, use the dist files. For exaample: copy development.dist.js in developement.js, inside of that, change mongodb: '~', and set your mongodb route --> For example : mongodb: 127.0.0.1:27206.

3) Run npm install, to install all the dependencies

4) Run npm run dev to start the server.

5) Use postman to test that server works well.

6) Is posible use robomongo to see all changes that happens on your database.