A full stack application built with node, postgresql & Angular hosted on Amazon Web Services using CircelCi.
- Angular - Single Page Application Framework
- Node - Javascript Runtime
- Express - Javascript API Framework
- PostgreSQL - Database Management System
- AWS S3 - Static Website Hosting Environment
- AWS Elastic Beanstalk - Node.js Hosting Environment
- AWS RDS - PostgreSQL Hosting Environment
See dependencies.md for more details.
The project provides a global package.json that comes with scripts to run, build and deploy project:
-
First head to the api directory and add a
.env
file. -
Second add the following environment variables to the
.env
file:POSTGRES_HOST= POSTGRES_USERNAME= POSTGRES_DB= POSTGRES_PASSWORD= POSTGRES_PORT= PORT= AWS_REGION= AWS_PROFILE= AWS_BUCKET= URL= JWT_SECRET=
-
Then return back to the main directory and run
npm run api:install
to install all the backend dependecies. -
Then run
npm run api:start
to start the backend development server. -
Open another terminal and run
npm run frontend:install
to install all the frontend dependencies. -
Then run
npm run frontend:start
to start the frontend development instance. -
To build the backend api run
npm run api:build
and to build the frontend api runnpm run frontend:build
.
See deployment.md for more details.
Screenshots are divided into 2 categories: