Aller au contenu principal

Installation

Guide d'installation pour l'environnement de développement THE HIVE.

Prérequis

Backend

  • Java 17+
  • Maven 3.8+
  • PostgreSQL 14+

Frontend

  • Node.js 20+
  • npm 10+ ou pnpm

Backend

# Cloner le repo
git clone https://gitlab.com/the-hive5354847/wethehive-backend.git
cd wethehive-backend

# Configurer la base de données
cp src/main/resources/application.properties.example src/main/resources/application.properties
# Éditer application.properties avec vos credentials PostgreSQL

# Lancer
./mvnw spring-boot:run

Le backend sera accessible sur http://localhost:8080.

API Docs : http://localhost:8080/swagger-ui.html

Frontend Recruteur

git clone https://gitlab.com/the-hive5354847/wethehivers-frontend-recruteur.git
cd wethehivers-frontend-recruteur

npm install
npm run dev

Accessible sur http://localhost:3000.

Frontend Candidat

git clone https://gitlab.com/the-hive5354847/wethehive-frontend-public.git
cd wethehive-frontend-public

npm install
npm run dev

Accessible sur http://localhost:3001.

Frontend Admin

git clone https://gitlab.com/the-hive5354847/wethehive-frontend-admin.git
cd wethehive-frontend-admin

npm install
npm run dev

Accessible sur http://localhost:3002.

Variables d'environnement

Frontend (.env.local)

NEXT_PUBLIC_API_URL=http://localhost:8080/api