A modern, reusable devstack to bootstrap fullstack projects (App + API) with Docker, Traefik, and zero setup friction.
See how easy it is to start the entire stack:
This project provides a standardized development environment for modern fullstack applications.
Instead of reinventing the setup for every project, this devstack gives you a ready-to-use foundation focused on:
- Fast onboarding
- Consistent environments
- Reusability across projects
- Better developer experience
git clone https://github.com/mamura/devstack.git
cd devstack
make initThis will:
- create
infra/.envfrominfra/.env.example - create the Docker network if needed
- start the full stack
Then access:
devstack/
├── app/
├── api/
├── infra/
│ ├── .env.example
│ ├── compose.yaml
│ ├── traefik/
│ │ └── traefik.yml
│ └── scripts/
│ └── bootstrap.sh
└── Makefile
This project uses a dedicated environment file for infrastructure:
infra/.env
This avoids conflicts with application-level .env files inside app/ or api/.
- Docker & Docker Compose
- Traefik (reverse proxy)
- Makefile (command orchestration)
- Bootstrap script (environment setup)
make init # Full setup (setup + bootstrap + up)
make setup # Create infra/.env from example
make bootstrap # Prepare environment (network)
make up # Start containers
make down # Stop containers
make logs # View logs
make restart # Restart stack
make ps # List containersOnce the stack is running, services are exposed through Traefik:
This repository is a base structure for projects that contain:
app/: frontend applicationapi/: backend applicationinfra/: shared development infrastructure
You can use it as:
- a starting template for new projects
- a reusable local infrastructure base
- a standard layout for app + api development
Edit infra/.env to customize:
- stack name
- local domain
- exposed ports
- container images
- database credentials
- Docker
- Docker Compose
- GNU Make
Because setting up environments shouldn't slow you down.
This project helps you:
- Avoid port conflicts
- Standardize project setup
- Reduce onboarding friction
- Focus on building features instead of configuring infrastructure
- HTTPS local support
- Database services (MySQL/Postgres)
- Hot reload improvements
- CLI for project scaffolding
- Multi-environment support
Contributions are welcome!
Feel free to open issues, suggest improvements, or submit pull requests.
MIT
If this project helped you, consider giving it a star ⭐
