Skip to content

mcanais/dei-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DEI Management System - DMS

Dependencies

Run Locally

Clone the project

git clone [email protected]:<REPO>

Go to the project directory

cd DMS/

Database

To run the database with Docker (recommended), run the following command:

docker compose up

Alternatively, you can create services that will be run in the background:

docker compose up -d

To stop the database, run the following command:

docker compose down

Backend

Create a copy of the application-local.properties file.

cp ./backend/src/main/resources/application.properties.example ./backend/src/main/resources/application.properties

If you're running your database using Docker, the datasource variables should match the ones in Docker-compose.yml.

To build and run the backend, execute the following commands:

cd ./backend
mvn clean spring-boot:run

Frontend

Create a copy of the example.env file named .env.

cp ./frontend/example.env ./frontend/.env

Now, you need to install the dependencies:

cd ./frontend
npm i

To run the frontend, run the following command:

npm run dev

Access the Database

In order to access the database, you can use the following command:

mysql -u root -p<password> -h 127.0.0.1 -P 7654 dmsdb

Useful resources I used for this project:

About

DEI Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors