Skip to content
No description, website, or topics provided.
Java Vue Groovy TypeScript Python CSS Other
Branch: master
Clone or download

README.md

Tutor System - Impress project

IST Logo IMPRESS Logo INESC Logo

Instalation

Install Postgresql for database(version 10.8)

Install Java 11 for spring-boot API

Install Node.js for frontend (version 10.15.3)

sudo apt update
sudo apt install postgresql
sudo apt install nodejs npm

Create DB by loading dump

Change to postgres user and create DB

sudo su -l postgres
dropdb tutordb
createdb tutordb

Create user to access db and load dump

psql tutordb
CREATE USER your-username WITH SUPERUSER LOGIN PASSWORD 'yourpassword';
psql tutordb < postgres/dump.bak

Run spring-boot API on http://localhost:8080

Firstly, replace .example property files located in spring-api/src/main/resources

cd spring-api
mvn clean spring-boot:run

See documentation on http://localhost:8080/swagger-ui.html

Run frontend on http://localhost:8081

Firstly, create .env and .env.production files located in frontend/

cd frontend
npm i
npm start
You can’t perform that action at this time.