Skip to content

mslaursen/Semester-Project-exam-fork

 
 

Repository files navigation

Code Smells Maintainability Rating Security Rating Bugs Coverage Lines of Code

Project Source Code

Access the complete source code of the project on GitHub: Semester Project Repository.

  • API Documentation: Auto-updated via Github actions, visible here
  • DB Dumps: Database dumps for MongoDB and Neo4j, here here

Project Setup Instructions

Using AWK

If AWK is installed on your system, execute the following command from the project's root directory:

make run

Using Docker Compose

In the absence of AWK, execute the following docker-compose command from the project's root directory:

docker-compose -f deploy/docker-compose.yml -f deploy/docker-compose.dev.yml --project-directory . up --build

This command sets up docker containers, initializing the project and databases. It also loads test data into the databases. Look inside the Makefile, to see every command available.

Project Deployment

  • Backend: Deployed on Azure, accessible here.
  • Frontend: Hosted on Vercel, available here.

Running Tests

With AWK

make test

With Docker Compose

Execute the following command:

docker container exec $(docker ps | grep api-1 | awk '{print $1}') pytest ./rpg_api/tests/pytest -s

Test Data Scripts

Relational Database Scripts

Access the relational database scripts on GitHub:

Document and Graph Database Scripts

For Document and Graph databases, test data is managed by the backend application upon startup:

Releases

No releases published

Packages

No packages published

Languages

  • HTML 92.1%
  • Python 6.9%
  • Vue 0.5%
  • JavaScript 0.4%
  • PLpgSQL 0.1%
  • Makefile 0.0%