- a dummy social networking website.
-
Names of Project Members/Contributors:
- Rohit Kaushal (185037)
- Prateek Bharat Sharma (185019)
- Vishal Shrivastava (185023)
- Nishit Attrey (185028)
-
Course: CSD-327 Software Engineering LAB
-
Date: May 6th, 2021
-
Submitted to: Dr. Dharmendra Prasad Mahto
-
Database - PostgreSQL
- install PostgreSQL if not installed. See Installation Instructions
- create database named
socia
createdb socia
-
Backend/API Server
Note - project runs on nodejs. if you don't have installed please install Nodejs first.
sudo apt install nodejs
Windows : Download from Official Site
-
switch to
backend/
directory -
install dependencies
npm install
-
Connect Database
- create a file named
.env
with this content ( replacedb_username, db_password
with your database username, password )
DATABASE_URL="postgresql://db_username:db_password@localhost:5432/socia" JWT_SECRET="mysupersecret"
- create a file named
-
start backend server
npm start
-
-
Frontend Server
- switch to
frontend/
directory - install dependencies
npm install
- start frontend server
npm start
- project should be running at http://localhost:3000
- switch to