No description
  • Java 72.5%
  • HTML 16.2%
  • CSS 11%
  • Shell 0.3%
Find a file
2025-03-28 16:23:43 +01:00
syntaxera-api feat: retouches 2025-03-11 16:59:18 +01:00
syntaxera-core feat(web): add course visualisation page 2025-03-10 17:03:43 +01:00
syntaxera-web style: change font 2025-03-11 17:14:20 +01:00
.gitignore clean: move modules to root 2025-02-23 23:29:18 +01:00
docker-compose.yml docker compose v2 do not needs the version attribute 2025-02-28 20:45:47 +01:00
LICENSE Initial commit 2025-02-21 16:12:39 +01:00
mountsql.sh add automation of launch & turn off of the db 2025-02-28 20:45:47 +01:00
pom.xml feat(web): create web module and course form page 2025-02-28 21:39:02 +01:00
README.md doc: add informations to the readme 2025-03-28 16:23:43 +01:00
schema.sql feat: retouches 2025-03-11 16:59:18 +01:00

syntaxEra

syntaxEra is an engineering class project, the application allow you to create or read courses on various subjects.

Authors: Charlène Gros and Loïc Pottier

Database initialization

Launch the db, copy the database schema and seed the database with it.

On windows

docker-compose up -d
docker cp schema.sql syntaxera_postgres:/schema.sql
docker exec -it syntaxera_postgres psql -U root -d syntaxera_db -f /schema.sql

To turn off the db, stop the container with:

docker-compose down

On linux

The mountsql.sh do it for you ! run sh mountsql.sh to launch and seed the db, and sh mountsql.sh <something> to turn it off !

Running the app

You can now execute the SyntaxeraWebApplication.java in syntaxera-web module to run the app or the SyntaxeraApiApplication.java in syntaxera-api to only start the api endpoints.

This will launch the app on port 8080, giving access to these pages:

There is also the Swagger UI available at:

The project has 3 maven modules and must be compiles with Java 21.
The database is a PostgreSQL database containing 5 tables.