/feup-lgp

gNet is a social network for medical professionals

Primary LanguageTypeScript

gNet

Description

gNet is a social network where enthusiasts of the medical area can share and acquire knowledge by participating in discussions and talks in the platform.

Development Instructions

Requirements

  • Docker
  • Node/npm

Overview

Clone the repository. Then, run the following section's commands in 3 separate terminals for the PostgreSQL database, Node+Express backend and React frontend. This will run the database inside a Docker container, continuously outputting useful logs, and startup the backend and frontend on their own.

Commands

DB:

  • at project root, run 'scripts/run_db.bat'

Backend:

  • cd api
  • npm install
  • npm start

Frontend:

  • cd web
  • npm install
  • npm start

Contribution Guidelines

Merge Requests

Each merge request must be approved by at least 2 members before merge. As our Gitlab edition does not have the 'Approve' functionality enabled, one must instead use the 'thumbs up' emoji.

Useful links

React-Bootstrap
Bootstrap as React components

Create-React-App
Github repository with a guide used to implement this app

React-Router-Dom
Routing solution