📘 Documentation
For detailed architectural decisions, requirements, and other comprehensive information, please visit our GitHub Pages website.
You can run this project easily using Docker or manually by setting up the environment on your local machine.
- Docker & Docker Compose (Recommended for easiest setup)
- Node.js (Version ^20.19.0 or >=22.12.0 recommended)
- npm
Before running the project, ensure you have configured your environment variables. Create a .env file in the root directory. Based on the configuration, it should look something like this:
# .env example
MONGO_PORT=27017
SERVER_PORT=3000
CLIENT_PORT=8080
DEV_URL=localhost
PROD_URL=localhostThe project includes a docker-compose.yml file that orchestrates the MongoDB database, Express server, Vue client, and Mongo Express interface.
- Build and start the services:
docker-compose up --build
- Acess the application:
- Client (Vue): your configured DEV_URL + CLIENT_PORT
- Server (API): your configured DEV_URL + SERVER_PORT
- Mongo Express (DB GUI): on your DEV_URL at port 8081
If you prefer to run the services individually without Docker:
- Install Dependencies: This project uses npm workspaces. Install dependencies for both client and server from the root:
npm install
- Database: Ensure you have a MongoDB instance running locally (default: mongodb://localhost:27017/visiondb).
- Start the Server: Open a terminal and run:
cd server npm run dev - Start the Client: Open a second terminal and run:
cd client npm run dev
To trigger a specific type of release, you must use the following prefixes in your commit titles:
- Patch Release (v1.0.0 → v1.0.1): Use fix:
- Example:
fix: correct login button alignment
- Example:
- Minor Release (v1.0.0 → v1.1.0): Use feat:
- Example:
feat: add new dashboard chart
- Example:
- Major Release (v1.0.0 → v2.0.0): Use
BREAKING CHANGE:(in the footer) or append!after the type.- Example:
feat!: remove support for node 18
- Example: