(really excited about this one🙇♀️🙇♀️🙇♀️ )
Modern tour booking platform backend built with Node.js, Express, and MongoDB.
Nectar is a scalable backend application designed for tour and travel businesses. It provides a complete API and server-rendered experience for managing tours, bookings, users, reviews, payments, and authentication workflows.
- Create, update and delete tours
- Advanced filtering, sorting and pagination
- Tour categories and difficulty levels
- Featured tours
- Tour statistics and analytics
- Geospatial search and distance calculations
- Secure user registration
- Login and logout system
- Role-based authorization
- User profiles and account settings
- Password reset functionality
- Account security controls
- Tour reviews
- Rating system
- Review moderation
- User-generated content management
- JWT Authentication
- Password hashing
- Rate limiting
- Data sanitization
- XSS protection
- Secure HTTP headers
- MongoDB injection prevention
- Optimized database queries
- Pagination support
- Aggregation pipelines
- Efficient API architecture
- Production-ready structure
- Node.js
- Express.js
- MongoDB
- Mongoose
- JSON Web Tokens (JWT)
- bcrypt
- Helmet
- Express Rate Limit
- Nodemon
- ESLint
- Prettier
Clone the repository:
git clone https://github.com/faanid/nectar.gitInstall dependencies:
npm installCreate environment variables:
cp .env.example .envRun development server:
npm run devStart production server:
npm start- RESTful API
- Authentication endpoints
- User management endpoints
- Tour management endpoints
- Review endpoints
- Booking endpoints
- Advanced query features
- Clean architecture
- Scalable codebase
- Secure authentication system
- Optimized MongoDB queries
- Geospatial functionality
- Production-ready backend
MIT License