This is an API to connect advertisers to publishers. The advirtisers can create campaigns and the publishers can get it and to receive a pay for results.
Server: Node, Express
Database: MongoDB
Tests: Jest, Supertest
Clone the project
git clone https://github.com/feliperocha93/infleux-challenge
Go to the project directory
cd infleux-challenge
Install dependencies
yarn install
Start the server
yarn start:dev
To run tests and get coverage, run the following command
yarn test
To run tests and watch changes
yarn test:watch
In the thunder_client folder, there is the API collection. To use it, you need download Thunder Client extension and import collection and env files that are inside the folder.
First, click in Collections (Thunder Client NavBar - on the top) > import > select thunder-collection_Infleux Challenge.json
. After it, click in Env > import > select thunder-environment_Infleux Challenge.json