Backend API project built with Node.js and Express for application workflows such as authentication, rooms, bookings, inventory, events, announcements, and file uploads.
This repository is a cleaned public showcase extracted from a private deployment-oriented project. The goal is to present the actual source structure and API flow without exposing local runtime state such as private .env values, local SQLite artifacts, or upload contents.
- Express-based REST API backend
- modular route/controller/model structure
- JWT-oriented authentication flow
- Sequelize + SQLite local persistence path
- Swagger UI documentation in-source
- safe public packaging with
.env.exampleand runtime exclusions
Current route mounts in server.js:
/api- authentication and user-related routes/api/inventory- inventory routes/api/bookings- booking routes/api/rooms- room routes/api/events- event routes/api/announcements- announcement routes/uploads- static upload serving/docs- Swagger UI
- Node.js
- Express
- Sequelize
- SQLite
- JWT
- Multer
- Swagger UI / swagger-jsdoc
Key folders and files:
server.jsconfig/controllers/middleware/models/routes/utils/docs/.env.example
npm installcp .env.example .envCurrent public example variables:
JWT_SECRET_KEYPORT
npm startTypical local URLs:
http://localhost:5000/docs
http://localhost:5000/apispec_1.json
docs/QUICKSTART.mddocs/API_OVERVIEW.mddocs/PROJECT_STRUCTURE.md
This public version intentionally excludes:
- private
.envvalues - local database files
- upload contents
- logs and deployment-only artifacts
Current state: public showcase candidate.
That means the repo is already presentable as a backend/API portfolio item, while still open to future cleanup, tests, and documentation expansion.