Skip to content

Bartc3/CloudToDoApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PXL 3 tier web application sample app

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.

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. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published