Skip to content

CS2102-19-20-group56/CS2102

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction:

This project is a PERN (PostgresSQL, Express, Node.js and React) full stack web application. This repository contains an sample of a food delivery service application. For further details, refer to the report.

Application setup:

  • Clone the code
  • Restore missing packages by using npm install in both frontend and backend folders.
  • Initialize database in the /backend/database/SQL_script folder and using the command \i init.sql and \i loaddb.sql in PSQL console.
  • Make appropriate changes to /backend/database/db.js
const pool = new Pool({
  user: 'postgres',     //change to your own postgres user
  host: 'localhost', 
  database: 'project',  //change to your own database name
  password: 'password', //change to your own postgres password
  port: 5432,
}); 

Running the application:

cd backend
npm start
cd ../frontend
npm start

Documentation

  • Refer to the report.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •