ngnguyen1 / udacity-capstone-cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Documentation management

Functionality of the application

  • An user need to authorize in order to access application.

  • The application allows users to create/update/delete/view documentation item.

  • The application allows users to upload attachment image file.

  • The application only shows documentation for specific logged in user.

Prerequisets

Backend API

To deploy the application, run the following commands:

cd api
npm install

# deploy application to dev environment
sls --deploy --verbose

# or deploy application to test environment, for purpose to test with postman collection
sls --deploy --verbose --stage test

Frontend UI

cd ui
npm install
# start application in dev environment
npm run start

# or start application in test environment
REACT_APP_ENV=test npm run start

Postman Collection

An alternative way to test the API is using the Postman collection. Postman collection also be included in this repo named Udacity Capstone.postman_collection.json

After imported Postman collection, you should see this:

postman collection imported

Update variables in collection then run the collection:

run postman collection test

The result should be look like the following:

postman collection tested

Screenshots

content management

About


Languages

Language:TypeScript 86.1%Language:JavaScript 8.1%Language:HTML 3.7%Language:CSS 2.0%