This repository contains the frontend and backend server for La Vie de Jordi, containerized using Docker and easily deployable with a script.
- Docker
- Docker Compose
- Node.js
git clone https://github.com/your-username/laviedejordi.git
cd laviedejordinpm installcp .env.example .envEdit the .env file to configure your environment variables.
chmod +x deploy.sh./deploy.shThis will:
- Build your frontend (in
dist/) - Build the Docker image
- Launch the container with
docker compose up -d --build
Check that the backend server is running by viewing logs:
docker compose logs -f backendTo run the application locally without Docker, you can use the following commands:
npm run devThis will start both the frontend and backend servers in development mode.
You can access the frontend at http://localhost:5173 and the backend at http://localhost:3000.
This project is licensed under the MIT License. See the LICENSE file for details.