A modern digital agency platform with FastAPI backend and React frontend, featuring portfolio management, service listings, and more.
- Backend: FastAPI-based REST API with MongoDB integration
- Frontend: React application with Tailwind CSS styling
- Documentation: Mintlify-powered documentation
- Containerization: Docker and Docker Compose support
- CI/CD: GitHub Actions workflow for automated testing and deployment
# Option 1: Using deploy script
./deploy.sh
# Option 2: Using Makefile
make deployThis will start all services (MongoDB, Backend, Frontend) using Docker Compose.
make help # Show all available commands
make build # Build the application
make deploy # Deploy with Docker
make dev # Start development servers
make stop # Stop all containers
make logs # View logs
make health # Check health statusSee DEPLOYMENT.md for detailed instructions on:
- Local development setup
- Building the application
- Manual deployment
- Environment configuration
- Troubleshooting
.
├── backend/ # FastAPI backend application
├── frontend/ # React frontend application
├── docs/ # Documentation (Mintlify)
├── .github/ # GitHub Actions workflows
├── docker-compose.yml
├── build.sh # Build script
├── deploy.sh # Deployment script
└── DEPLOYMENT.md # Detailed deployment guide
Install the Mintlify CLI to preview your documentation changes locally. To install, use the following command:
npm i -g mint
Run the following command at the root of your documentation, where your docs.json is located:
mint dev
View your local preview at http://localhost:3000.
Install the Mintlify CLI to preview your documentation changes locally. To install, use the following command:
npm i -g mint
Run the following command at the root of your documentation, where your docs.json is located:
mint dev
View your local preview at http://localhost:3000.
After deployment:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Frontend:
cd frontend && npm start - Backend:
cd backend && uvicorn server:app --reload
Install our GitHub app from your dashboard to propagate changes from your repo to your deployment. Changes are deployed to production automatically after pushing to the default branch.
The project includes automated CI/CD using GitHub Actions:
- Runs tests on every push and pull request
- Builds Docker images on main branch
- See
.github/workflows/ci-cd.ymlfor details
See DEPLOYMENT.md for comprehensive troubleshooting
- If your dev environment isn't running: Run
mint updateto ensure you have the most recent version of the CLI. - If a page loads as a 404: Make sure you are running in a folder with a valid
docs.json.