The greatest silo monitoring system ever created!
Create a .env
file out of .env.example
.
cp ./express-server/.env.example ./express-server/.env
To be able to use the Docker environment, you need to have both Docker and Docker Compose installed on your computer.
Note: Docker Compose is included in Docker installation if you're using MacOS or Windows. Only Linux users need to download it separetely.
- Install node dependencies locally
cd ./angular-client
npm install
- Build Docker images
cd ..
docker-compose build
- Run containers
docker-compose up
- Access a container
If you want to execute some commands inside a container run:
docker-compose exec express bash
to have acces to the express server containerdocker-compose exec angular bash
to have acces to the angular client container
When you want to quit the container, just typeexit
- Stop containers
docker-compose down
docker-compose [whatever]
command, you need to be in the project root folder. The one where
docker-compose.yml
is located.
The REST API is using Node.JS and Express.JS.
URL: http://localhost:9000
The frontend client is a Angular 5 Application.
URL: http://localhost:4200
The Database is a MongoDB database.
URL: http://localhost:27017
Here is some screenshot of the application running on Heroku.