This repo contains 3 branches. The main
branch has the app running on a mongoDB database. The branch dynamo-db
uses AWS dynamoDB as a database. The branch sequelize
has the app running on a MySQL database.
Angular 12
The API url is defined in the file /frontend/environments/environment.prod.ts
. This value gets set by the APIURL
argument in the docker-compose.yml
file. The multistage dockerfile uses this value before the build process.
NodeJS + express + mongoose
there is a /health
endpoint for a healthcheck
image carrousel urls are located in /backend/data/carrousel.json
MongoDb
- make sure the
APIURL
property indocker-compose.yml
is correctly set to point to your API. - make sure the
DBURL
variable indocker-compose.yml
is correctly set to point to your mongoDB instance. This is a DB URI containing database credentials. (eg.mongodb://username:password@host:port/database?options...
) - run
docker-compose build && docker-compose up
to boot