Skip to content

Applying CI/CD on a full stack application, checking the code and deploying the front-end into s3 bucket and back end using elastic beanstalk service and a postgres database on RDS service

Notifications You must be signed in to change notification settings

yasser1412/udagram

Repository files navigation

Udagram

This application is provided to you as an alternative starter project if you do not wish to host your own code done in the previous courses of this nanodegree. The udagram application is a fairly simple application that includes all the major components of a Full-Stack web application.

Getting Started

  1. Clone this repo locally into the location of your choice.
  2. Move the content of the udagram folder at the root of the repository as this will become the main content of the project.
  3. Open a terminal and navigate to the root of the repo
  4. follow the instructions in the installation step

The project can run but is missing some information to connect to the database and storage service. These will be setup during the course of the project

Dependencies

- Node v16 (LTS) or more recent.

- npm 5.5.1 (LTS) or more recent.

- AWS CLI v2, v1 can work but were not tested for this project

- AWS EB CLI

- AWS RDS database running Postgres.

- AWS S3 bucket for Frontend.

- AWS Elastic Beanstalk for Backend.

Installation

Provision the necessary AWS services needed for running the application:

  1. In AWS, provision a publicly available RDS database running Postgres. <database-1.cnypvrxw3icw.us-east-2.rds.amazonaws.com>
  2. In AWS, provision a s3 bucket for hosting the uploaded files. http://udagram-yasser.s3-website.us-east-2.amazonaws.com
  3. Export the ENV variables needed or use a package like dotnev/.
  4. From the root of the repo, navigate udagram-api folder cd udagram/udagram-api to install the node_modules npm install. After installation is done start the api in dev mode with npm run dev.
  5. Without closing the terminal in step 1, navigate to the udagram-frontend cd udagram/udagram-frontend to intall the node_modules npm install. After installation is done start the api in dev mode with npm run start.

Built With

  • Angular - Single Page Application Framework
  • Node - Javascript Runtime
  • Express - Javascript API Framework

Deployment

Documents

Click here to open the Documents

About

Applying CI/CD on a full stack application, checking the code and deploying the front-end into s3 bucket and back end using elastic beanstalk service and a postgres database on RDS service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published