Skip to content

faanid/nectar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nectar 💁‍♀️

(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.

Features

Tour Management

  • 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

User Management

  • Secure user registration
  • Login and logout system
  • Role-based authorization
  • User profiles and account settings
  • Password reset functionality
  • Account security controls

Reviews & Ratings

  • Tour reviews
  • Rating system
  • Review moderation
  • User-generated content management

Security

  • JWT Authentication
  • Password hashing
  • Rate limiting
  • Data sanitization
  • XSS protection
  • Secure HTTP headers
  • MongoDB injection prevention

Performance

  • Optimized database queries
  • Pagination support
  • Aggregation pipelines
  • Efficient API architecture
  • Production-ready structure

🛠 Technology Stack

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

Authentication & Security

  • JSON Web Tokens (JWT)
  • bcrypt
  • Helmet
  • Express Rate Limit

Development Tools

  • Nodemon
  • ESLint
  • Prettier

Installation

Clone the repository:

git clone https://github.com/faanid/nectar.git

Install dependencies:

npm install

Create environment variables:

cp .env.example .env

Run development server:

npm run dev

Start production server:

npm start

API Capabilities

  • RESTful API
  • Authentication endpoints
  • User management endpoints
  • Tour management endpoints
  • Review endpoints
  • Booking endpoints
  • Advanced query features

Why Nectar?

  • Clean architecture
  • Scalable codebase
  • Secure authentication system
  • Optimized MongoDB queries
  • Geospatial functionality
  • Production-ready backend

License

MIT License

About

About The core backend infrastructure for travel agency website, with Node.js. handles tour listings, booking logic, user management , authorization and secure transaction processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors