This is Full-Stack project built for a retailer and deploy it to a cloud service provider so that it is available to customers.
The project will also include writing documentation covering the operations of the deployment process. Which will serve as a way to communicate with future developers and anybody involved in diagnosing outages of the Full-Stack application.
- Use this link: Link
- This website is being hosted on AWS.
- Elastic Beanstalk is used for the Backend API.
- S3 bucket for the frontend and uploaded images.
- RDS database running Postgres.
- The CircleCi is linked to the project on Github.
- It is used to automatically deploy the website to the AWS.
- It is set to automatically execute once the code is being pushed into the master Github project.
Provision the necessary AWS services needed for running the application:
- In AWS, provision a publicly available RDS database running Postgres.
- In AWS, provision a s3 bucket for hosting the uploaded files.
- Export the ENV variables needed or use a package like dotnev/.
- From the root of the repo, navigate udagram-api folder
cd starter/udagram-api
to install the node_modulesnpm install
. After installation is done start the api in dev mode withnpm run dev
. - Without closing the terminal in step 1, navigate to the udagram-frontend
cd starter/udagram-frontend
to intall the node_modulesnpm install
. After installation is done start the api in dev mode withnpm run start
.
This project contains two different test suite: unit tests and End-To-End tests(e2e). Follow these steps to run the tests.
cd starter/udagram-frontend
npm run test
npm run e2e
There are no Unit test on the back-end
Unit tests are using the Jasmine Framework.
The e2e tests are using Protractor and Jasmine.