In this application, you are able to create a user, login and add posts to it. This application is hosted on Amazon Web Services S3 Static bucket. It talks to an API for data fetching and saving (which in itself is hosted on Amazon RDS along with Elastic Beanstalk). Another S3 Bucket is used to save media content.
You can visit my own deployed version here.
Please refer to the Screenshots for more pictures on the status of the different moving parts of the app.
Provision the necessary AWS services needed for running the application:
- In AWS, provision a publicly available RDS database running Postgres. DB Link
- In AWS, provision a s3 bucket for hosting the uploaded files. URN: arn:aws:s3:::udagramposts-bucket
- 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.