Skip to content

tftic-fswd/minerva

Repository files navigation

Minerva

Client/server training management system solution.

Key features

  • Integrate A.I. to help trough tasks.

Project organization

This project is split in multiple projects/repositories.

Project architecture

Project technologies

Here are some of the languages, formats, frameworks, and technologies used trough this project.

Demo

Requirements

Usage

Docker

The stack provides three services that require environment variables in order to function properly.

Create an .env file and fill it with the following configuration:

# Minerva Environment variables
# Node
NODE_ENV=development
# Server Application
API_PORT=3000
DB_SERVER=localhost
DB_ROOT_PASSWORD=localhost
DB_DATABASE=minerva
DB_USERNAME=minerva
DB_PASSWORD=minerva
DB_PORT=3306
JWT_SECRET=d7a481461577ba4c3c4c6946cca7204b
JWT_EXPIRE=1d
JWT_ISSUER=minerva
JWT_AUDIENCE=web-minerva
MAIL_SERVER=xxx
MAIL_USERNAME=xxx
MAIL_PASSWORD=xxx
MAIL_VALIDATION=false
OPENAI_API_KEY=d7a481461577ba4c3c4c6946cca7204b
# Web Application
VITE_API_URL=http://localhost:3000
# Website
API_URL=http://localhost:3000

Verify that the ports specified, API_PORT and DB_PORT are not already in use. Create an account on the OpenAI platform to benefit from the integration of A.I. in the system. 🤣

Start all the services with the provided configuration

docker compose --env-file .env up 

Now the system must be up and running!

You can now access the services at the following url:

Portainer

Use the Minerva main repository that contains the Docker infrastructure.

https://github.com/alexandrelamberty/minerva

Development

You can run any service needed for the server application or web application.

  • mysql MySQL instance
  • web Admin web application
  • api API server application

Start the specified service with the provided configuration

docker compose --env-file .env up service_name

Releases

No releases published

Packages

 
 
 

Contributors