This document provides instructions to set up and run the project. Please follow the steps below.
- Java and Maven to build the backend.
- Node and npm to manage frontend dependencies.
-
Clone the repository
Clone the repository to your local environment:
git clone https://github.com/Nomehh/EBC cd EBC -
Configure the database
You need to configure where you want to put database files: This must be precise on
persistence.xmlandweb.xml(this should be the same location) -
Build the backend
Compile and package the backend using Maven:
mvn package
-
Start the server
Run the backend server through Eclipse or Intellij
-
Set up the frontend
Navigate to the
frontenddirectory:cd frontendInstall the dependencies using npm:
npm i
-
Start the frontend
Run the frontend in development mode:
npm run dev
- Clone the repository
- Set up the database
- Build the backend with Maven
- Start the backend server
- Navigate to the frontend directory
- Install frontend dependencies
- Start the frontend in development mode
The project should now be accessible at the URL indicated in the console (localhost:3000).