You will need Docker to run this app.
First, you will need to create an .env so that Docker knows where to look for its docker-compose.yml file. In order to do that, run the following:
cp ./docker/dev.env .env
Note: You will need to modify the values of API_KEY and CX in the .env file to make the Google Search API work.
Then, you need to run the following to get the server and the database running:
docker-compose up
You can access the app on your browser via the following url:
http://localhost:3000
Like in the development mode, you need to
cp ./docker/prod.env .env
Note: You will need to modify the values of API_KEY and CX in the .env file to make the Google Search API work.
Then, you need to run the following to get the server and the database running:
docker-compose up
You can access the app on your browser via the following url:
http://localhost:3000
You can access the database content using your browser via the following url:
http://localhost:8081
You can generate api documentation into the folder .apidocs by running the following command:
docker-compose run app npm run doc