Skip to content
mutisama edited this page Jun 28, 2020 · 18 revisions

Welcome to the SWE 573 wiki!

Live demo

API endpoint

Request example for API

This wiki includes the details about the work done throughout the course. You can find the course details here.

You can see the detailed work on the assignments from the links given below:

Assignment List

The research section includes the research work.

Project management

Project management chart with timeline can be found in Gant Chart

The source files to the application can be found here in back-end.

Back-end also includes front-end section in public folder

Requirements and Q&A

Requirements

Q&A

UML diagram and user scenario

Class diagram

Use case diagrams

Sequence diagrams

User scenarios

Using App

Tech Stack

Back-end : NodeJS + Express Front-end : React Database: PostgreSQL Deployment: AWS Ubuntu machine

In order to start using the application:

  • Install postgresql, create a empty database called foodstore

  • psql -U postgres foodstore < backup.sql to create necessary tables in your database

  • cd to backend folder, create your .env file for necessary parameters, the structure to the .env file can be found here.

  • git clone https://github.com/mutisama/swe573.git

  • cd to backend/src/public folder, run npm install && npm run build

  • cd back to backend and npm install && npm start

Nutrition Calculation

The related code to the nutrition calculation for back-end

REST API

From the related endpoint, you are able to trigger various functions. For example: Get Recipes, Calculate nutrients, Update user profile etc. The documentation for the endpoint is in the REST API section of wiki.

Tests

Application passes all the test written, these are in the Test Cases of wiki

Deployment

Application is deployed on a AWS EC2 Ubuntu machine, can be reached from http://3.127.248.60