A progressive Node.js framework for building efficient and scalable server-side applications.
A platform that allows users to create and manage projects with their own PostgreSQL databases and automatically generated GraphQL APIs.
This project is organized as a monorepo with the following packages:
packages/admin-backend: NestJS backend that manages users, projects, and generates GraphQL APIs using PostGraphilepackages/admin-frontend: React frontend for the admin interface
- User authentication with JWT
- Project creation and management
- Automatic database provisioning for each project
- Auto-generated GraphQL API for each project using PostGraphile
- API Explorer with GraphQL Playground
- Node.js (v16+)
- PostgreSQL (v14+)
- Redis
- pnpm (for package management)
- Clone the repository
- Install dependencies:
pnpm install- Configure environment variables:
Copy the example environment file and adjust as needed:
cp packages/admin-backend/.env.example packages/admin-backend/.env- Start the development servers:
# Run both backend and frontend
pnpm dev
# Run only backend
pnpm dev:backend
# Run only frontend
pnpm dev:frontendThe backend will be available at http://localhost:6868 and the frontend at http://localhost:3002.
pnpm buildThis will build both the backend and frontend packages.
src/- NestJS application source codeauth/- Authentication and authorization modulesentities/- TypeORM entity definitionsmiddlewares/- Middleware including GraphQL generatorprojects/- Project management moduleredis/- Redis service for cachingplugins/- PostGraphile plugins
src/- React application source codecomponents/- Reusable React componentspages/- Main application pagesservices/- API service clientshooks/- Custom React hooksstore/- State management