Skip to content

2TIN-CloudServices1/CloudToDoApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PXL 3 tier web application sample app

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.

frontend

Angular 12

API url

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.

Backend

NodeJS + express + mongoose

there is a /health endpoint for a healthcheck

image carrousel urls are located in /backend/data/carrousel.json

Database

MongoDb

Setup

  • make sure the APIURL property in docker-compose.yml is correctly set to point to your API.
  • make sure the DBURL variable in docker-compose.yml is correctly set to point to your mongoDB instance.
  • run docker-compose build && docker-compose up to boot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published