Web Programming Project -course for spring 2023
A social media app for reviewing restaurants. Users can register, login and add their reviews, along with pictures, rate restaurants, view restaurants' location via umap and OpenStreetMap. Site will also return with recommendations based on top rated restaurants.
This site is deployed via Github Pages in here. Database is running at render which can cause some slugginess while fetching the data.
- Frontend Developer/Tester: Hua Chen (balletty2008)
- Product Owner/Scrum Master: Eveliina Hampus (t2haev00)
- Backend Developer: Yerold Sanabria (yeroldsan)
- Frontend Developer/Designer: Tomoko Takami (t2tato01)
- Node.js
- Git
- Express
- Typescript
- HTML
- CSS (Bootstrap)
- SQL
- PHP
- Node.js
- PostgreSQL: You can find the database schema in the server folder.
-
First, clone the repo and cd into the project:
git clone https://github.com/t2haev00/project-groupd.git
-
Add JS folders for main and server folder for compiled Javascript. See .gitignore file for hidden folders.
-
Move to the server directory:
cd server/
-
Install node dependencies:
npm i
-
In the server directory, open sample.env and copy its content into a new file named .env, then replace variable placeholders with the correct values for your database.
Run the following comand in the server and root directory:
npx tcs
In the server directory, start the development server by running:
npm run devStart
Backend will be running on http://localhost:3001 by default, if no value for PORT is passed.