Web application meant to smoothen up content sharing within the OFB.


Pre-Requisites:
Database setup:
sudo mysql
CREATE DATABASE ofb;
sudo mysql -p ofb < db-template.sql
sudo mysql
CREATE USER 'server'@'localhost' IDENTIFIED BY 'server';
GRANT ALL PRIVILEGES ON ofb.* TO 'server'@'localhost';
Nodemailer setup:
gmail-credentials.ts is missing at server/src/config, here's a template:
export const CREDS_USER: string = "email adress";
export const CREDS_PASSWORD: string = "gmail password";You need to turn on less secure apps in order for smtp to work.
Local:
npm i
npm start
cd server
npm i
npm run dev
Production:
npm i
npm run build
cd server
npm i
npm run build
npm start