This repo contains 4 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. The branch serverless contains some lambda functions that can be combined with an AWS API gateway to setup a serverless backend architecture in combination with DynamoDB.
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
APIURLproperty indocker-compose.ymlis correctly set to point to your API. - make sure the
DBURLvariable indocker-compose.ymlis correctly set to point to your mongoDB instance. - run
docker-compose build && docker-compose upto boot