NodeJS >= 16.14.0
Postgres >= 13
Clone the project.
$ git clone [email protected]:edumoreira1506/advertising-service.git
$ cd advertising-service
Copy the contents of the .env.sample
to .env
then change with the credentials of your local environment.
$ cp .env.sample .env
Install all packages.
$ npm i
For run server local.
$ npm run dev
For run tests.
$ npm run test
For run eslint.
$ npm run lint
To run migrations.
$ npm run db:migrate