The application's Link here.
- Front-End runs on AWS S3 Bucket
- Back-End runs on Elastic Beanstalk
- RDS micro tier is used for the database
Postgres
.
CircleCi
for CI & CD is used, as when a new code is pushed the pipeline
starts to apply the new code and till
the changes will be deployed on the production environment.
Run npm install
for both frontend part and api part to download the necessary dependencies.
Create a .env
file in udagram-api
With the below variables:
POSTGRES_USERNAME POSTGRES_PASSWORD POSTGRES_DB PORT POSTGRES_HOST RDS_DIALECT AWS_REGION AWS_PROFILE aws_bucket AWS_BUCKET URL DB_PORT JWT_SECRET
Open your terminal and split it into 2 windows:
- cd to
udagram-api
thennpm run dev
- cd to
udagram-frontend
thennpm run start
Open http://localhost:4200
in the local browser.
1- Use this command to free the port if busy (Unix)
sudo lsof -t -i tcp:3000 | xargs kill -9
Feel free to change the port number.
2- Please check the Doc folder
for more information & clarifying diagrams.