RoomFull 2.0 is a full-stack booking application for coworking spaces.
The project demonstrates how a real-world booking flow can be implemented with clear domain rules, role-based access, availability checks, conflict prevention and an admin interface for operational management.
It is built as a portfolio project with production deployment, API documentation and a structured frontend/backend architecture.
- Application: https://roomfull.michael-buschmann.dev
- API Documentation: https://api.roomfull.michael-buschmann.dev/docs
- API Healthcheck: https://api.roomfull.michael-buschmann.dev/health
The public demo environment contains demo data only. Please do not enter real personal data or reused passwords.
RoomFull allows users to browse coworking options, check availability and create bookings for different types of bookable units.
Admins can manage the available unit inventory and oversee the booking operation.
The core idea is simple:
Find a suitable space, check whether it is available, book it — without double bookings, invalid time ranges or unauthorized actions.
RoomFull supports four coworking unit types:
- Hot Desk
- Booth
- Team Room
- Meeting Room
The application includes two main user contexts:
Customers can:
- create an account
- sign in
- browse available booking options
- view active units
- check availability
- create bookings
- view their own bookings
- cancel their own future bookings
Admins can:
- access an admin dashboard
- create bookable units
- edit existing units
- deactivate units
- reactivate units
- review booking operations
- create operational bookings through the regular customer booking flow
The backend is responsible for enforcing the booking rules.
A booking connects:
- a user
- a bookable unit
- a start time
- an end time
Important rules include:
- only active units can be booked
- bookings must be in the future
- the start time must be before the end time
- bookings must be within opening hours
- overlapping active bookings for the same unit are rejected
- customers can only cancel their own bookings
- admin-only actions are protected by role-based access control
Global opening hours are currently:
- Monday to Friday
- 08:00 to 22:00
RoomFull focuses on a clean and maintainable full-stack implementation.
Key technical aspects:
- role-based authentication and authorization
- backend-side validation of business rules
- availability checks with booking conflict detection
- unit inventory management
- customer self-service booking flow
- admin dashboard for operational workflows
- PostgreSQL database with Prisma migrations
- OpenAPI documentation with Swagger UI
- production deployment with separate frontend and backend services
- Next.js
- TypeScript
- Tailwind CSS
- Feature-oriented project structure
clsxfor conditional class composition
- Node.js
- Express
- TypeScript
- Prisma
- PostgreSQL
- OpenAPI / Swagger
- npm
- Node.js via
.nvmrc - Prisma Migrate
- Prisma Studio
- ESLint / project linting
RoomFull separates product-facing UI concerns from backend domain logic.
The frontend follows a pragmatic feature-oriented structure. UI, features, entities and shared code are separated to keep the application navigable as it grows.
The backend acts as the source of truth for business rules. Critical checks such as booking validity, conflicts, opening hours and permissions are enforced server-side instead of relying on frontend state.
Simplified structure:
/
README.md
docs/
adr/
architecture/
deployment/
backend/
prisma/
src/
routes/
controllers/
services/
db/
middleware/
docs/
src/
app/
widgets/
features/
entities/
shared/- Node.js 24 LTS
- npm
- PostgreSQL 17
Use the Node version defined in .nvmrc:
nvm useCheck your local versions:
node -v
npm -vInstall dependencies in the project root:
npm installStart the frontend development server:
npm run devThe application runs locally at:
http://localhost:3000On macOS with Homebrew:
brew install postgresql@17
brew services start postgresql@17Check whether PostgreSQL is running:
pg_isreadycreatedb roomfullcd backend
npm install
cp .env.example .envAdjust backend/.env so that DATABASE_URL matches your local PostgreSQL user.
Example:
DATABASE_URL=postgresql://meikl@localhost:5432/roomfull?schema=publicGeneral format:
DATABASE_URL=postgresql://YOUR_LOCAL_DB_USER@localhost:5432/roomfull?schema=publiccd backend
npm run prisma:migrate:deployFor schema development, use:
npm run prisma:migrate:devnpm run devOr start the backend with auto-restart during development:
npm run dev:hotBy default, the backend runs locally at:
http://localhost:4000To inspect local database content visually:
cd backend
npx prisma studioUseful checks after setup:
UnitTypecontains the expected room types- demo units are available
- bookings are created with valid user and unit relations
The backend exposes an OpenAPI specification and Swagger UI.
Local Swagger UI:
http://localhost:4000/docsProduction Swagger UI:
https://api.roomfull.michael-buschmann.dev/docsWhen API endpoints change, implementation and OpenAPI documentation should be updated together.
Additional project documentation is kept in the repository:
docs/adr/
docs/architecture/
docs/deployment/
backend/docs/auth-flow.md
backend/docs/booking-flow.md
backend/docs/contact-request-flow.md
backend/docs/teams-flow.md
backend/docs/units-flow.mdThese documents describe architectural decisions, deployment notes and selected backend flows in more detail.
RoomFull 2.0 is a portfolio project focused on demonstrating production-oriented full-stack development.
The project is intentionally scoped around a coherent booking domain rather than broad feature accumulation. The main goal is to show clean implementation of product flows, domain rules, backend validation, role handling and maintainable project structure.