A lightweight BaaS (Backend as a Service) framework built with Go following the BMad Method.
apprun is a modular, cloud-neutral BaaS platform that provides:
- Authentication & Authorization: User management and RBAC
- Data Management: RESTful APIs with PostgreSQL and Ent ORM
- Storage Service: File storage with pluggable backends
- Workflow Engine: Business process automation
- Real-time Features: WebSocket support
- Multi-tenant: Project-based resource isolation
Key Features:
- 🔒 Security-first design
- 🌍 Internationalization support
- 🔌 Plugin architecture
- ☁️ Cloud-neutral deployment
- 📦 Production-ready
- Docker 20.10+
- Docker Compose 2.0+
- Go 1.23+ (for local development)
# Clone repository
git clone https://github.com/Websoft9/apprun.git
cd apprun
# Start services
docker-compose up -d
# Access application
# API: http://localhost:8080
# Swagger UI: http://localhost:8080/api/docs/index.htmlBuild and run locally:
# Build the binary
make build
# Configure CLI (first time)
cd core
./bin/apprun configure
# Start the server
./bin/apprun serve
# Or use Makefile target
make app-startCLI Commands:
# View all commands
./bin/apprun --help
# Server commands (local operations)
./bin/apprun serve # Start HTTP server
./bin/apprun migrate status # Check migration status
./bin/apprun migrate apply # Apply migrations
./bin/apprun configure # Configure CLI settings
./bin/apprun version # Show version info
# Legacy compatibility
./bin/server # Symlink to apprun, still worksFor complete CLI reference, see docs/cli-reference.md.
# Use production configuration
docker-compose -f docker-compose.yml up -d
# Check service health
curl http://localhost:8080/healthConfiguration:
- Environment variables: See
docker-compose.yml - Secrets: Use Docker secrets or external secret manager
- Database: PostgreSQL 14+ (included in docker-compose)
We follow the BMad Method for AI-assisted development.
Get started:
- Read CONTRIBUTING.md
- Check Sprint Artifacts
- Follow Standards
- Submit Pull Request
For maintainers: See OWNER.md
Maintained by: Websoft9