Running at: apfs.com.br
# Clone this repository
git clone https://github.com/Alexsander33set/portfolio.git
cd portfolio
# Copy environment variables template
cp .env.example .env
# Edit .env with your credentials
nano .env
# Start with Docker (production mode)
./docker.sh prod
# Or start in development mode (with hot reload)
./docker.sh dev| Command | Description |
|---|---|
./docker.sh dev |
Start development environment (frontend + backend with hot reload) |
./docker.sh dev-detached |
Start development in background |
./docker.sh prod |
Start production environment |
./docker.sh prod-detached |
Start production in background |
./docker.sh stop |
Stop all containers |
./docker.sh logs |
View logs |
./docker.sh build |
Build production image |
./docker.sh clean |
Remove all containers and images |
./docker.sh health |
Check application health |
- 8011: Backend API (production & development)
- 5173: Frontend dev server (development only)
cd app/server
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.sample .env
# Edit .env with your credentials
python app.py
# Server starts at http://localhost:8011cd app/client
npm install
npm run dev
# Frontend starts at http://localhost:5173The following tools were used in the construction of the project:
- Client
- Server
- Database
GET /api/project/<project_id>: Returns a specific projectGET /api/projects: Returns all projectsPOST /api/add-project: Adds a new projectPUT /api/update-project/<project_id>: Updates a specific projectDELETE /api/delete-project/<project_id>: Deletes a specific project
