Description
For start to develop with this project follow the steps below:
- Install the dependencies (Use npm preferably):
npm install- Run the application in mode
development:
npm run devThis project uses the following environment variables:
| Available variables | Description |
|---|---|
DOMAIN |
The domain on listen. |
MODE |
The mode of execution. |
PORT |
The port of access to server. |
Note. The environment variables are set by the
.envfile. You can follow the structure to change the name of.env.examplefile.
For to run the docker containers, you need to use the implementation:
-
docker-compose up -dto launch the docker container. -
docker-compose downto stop the docker contianer.
Note. For only launch DB environment, exec
docker-compose up -d postgresin mode silence.
This image uses environment variables for configuration.
| Available variables | Description |
|---|---|
DOMAIN |
The domain on listen. |
MODE |
The mode of execution. |
PORT |
The port of access to container. |
DB_USER |
The user to container database. |
DB_PASSWORD |
The password to container database. |
DB_PORT |
The port of access to container database. |
Emmanuel Rodriguez - Full Stack Developer