This is the backend for Reva, a hotel operations dashboard built with Node.js, Express, and MongoDB. It handles all business logic, authentication, and data management for rooms, bookings, guests, billing, and properties.
- REST API for properties, rooms, bookings, guests, and billing
- JWT authentication
- Mongoose schema modeling
- Seeded data available for demo/testing purposes
- Property logic supports both hotel-style and villa-style behavior
- Node.js
- Express
- MongoDB
- Mongoose
- JWT authentication
- bcrypt
cd spm-back-end
npm install
npm run devCreate a .env file with:
MONGODB_URI=your_mongo_uri JWT_SECRET=your_secret ORIGIN=http://localhost:5173 PORT=5005
- Business logic is mainly handled here
- Data can be seeded for demo/testing purposes
- Properties support different operational logic, including hotel and villa behavior
- Luana Aguilo
- Alejandro Perez
This project is licensed under the MIT License.