Skip to content

Weng-Kexin/CS2102-moodpanda

 
 

Repository files navigation

MoodPanda

CS2102 AY2019/2020, Semester 2 Database Project

Introduction

This is a simulated web-based database application for a food delivery service. This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.

Setup and Usage

Requirements

Ensure that you have the following installed before running the application:

Set up local database

  1. Create a local database moodpandadb by typing create database moodpandadb; in your psql terminal. Type \c moodpandadb to connect to the database. Alternatively, you can use pgadmin.

Start backend

  1. Open terminal in the Server folder and type the command npm run builddb to build the database and load data for the application.
  2. Type npm run devstart to start the backend application on your local host.

Start frontend

  1. Open terminal in the Client folder and type the command yarn build to build the application for production to the build folder.
  2. Type the command yarn start to run the frontend application on your local host localhost:3000.

The application should be running in your browser now and an alert box should popup to notify that you are connected.
Refer to the image below for what your browser should look like.

Screenshot

Usage

Open http://localhost:3000 to view the web application in the browser.

Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.2%
  • TSQL 12.4%
  • PLpgSQL 4.7%
  • Other 1.7%