Yousef-Medhat56 / udacity_udagram

A project for the Advanced Full-Stack Web Development Nanodegree Program offered by EgFWD initiative and Udacity. The goal of the project is hosting a full stack application on AWS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
The frontend url: http://udagram.frontend.s3-website-us-east-1.amazonaws.com

Dependencies

You can find the required dependencies for the application from here

Installation

Provision the necessary AWS services needed for running the application:

  1. In AWS, provision a publicly available RDS database running Postgres.
  2. In AWS, provision a s3 bucket for hosting the uploaded files.
  3. Export the ENV variables needed or use a package like dotnev/.
  4. From the root of the repo, navigate udagram-api folder cd starter/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 starter/udagram-frontend to intall the node_modules npm install. After installation is done start the api in dev mode with npm run start.

Testing

This project contains two different test suite: unit tests and End-To-End tests(e2e). Follow these steps to run the tests.

  1. cd starter/udagram-frontend
  2. npm run test
  3. npm run e2e

There are no Unit test on the back-end

Unit Tests:

Unit tests are using the Jasmine Framework.

End to End Tests:

The e2e tests are using Protractor and Jasmine.

Built With

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

License

License

About

A project for the Advanced Full-Stack Web Development Nanodegree Program offered by EgFWD initiative and Udacity. The goal of the project is hosting a full stack application on AWS.

License:Other


Languages

Language:TypeScript 78.4%Language:HTML 9.1%Language:SCSS 6.3%Language:JavaScript 5.2%Language:Shell 1.0%Language:Procfile 0.0%