Skip to content

This full-stack web application, built using Node.js, Express.js, and MongoDB, follows the MVC architecture. It includes comprehensive authentication and authorization features, along with CRUD operations and cloud-based image uploads via Cloudinary. The project demonstrates session management and uses EJS for templating.

Notifications You must be signed in to change notification settings

Pranavjaishwal/wonder-lust

Repository files navigation

WanderLust

Major Project

This is a full-stack web application built with Node.js, Express.js, and MongoDB using the MVC architecture. The project includes authentication and authorization functionalities along with complete CRUD operations.

Table of Contents

Features

  • MVC architecture
  • User authentication and authorization
  • CRUD operations
  • File uploads with Cloudinary
  • Session management
  • Flash messages for notifications

Technologies Used

  • Node.js: JavaScript runtime
  • Express.js: Web framework for Node.js
  • MongoDB: NoSQL database
  • Mongoose: ODM for MongoDB
  • EJS: Embedded JavaScript templating
  • Passport: Authentication middleware
  • Multer: Middleware for handling multipart/form-data
  • Cloudinary: Cloud storage for images

Installation

  1. Clone the repository:

    git clone https://github.com/Rohit-Mangasule/wonderlust
    
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    Create a .env file in the root directory and add the following:

    CLOUDINARY_CLOUD_NAME=your_cloud_name
    CLOUDINARY_API_KEY=your_api_key
    CLOUDINARY_API_SECRET=your_api_secret
    MONGO_URI=your_mongodb_uri
    SESSION_SECRET=your_session_secret
  4. Run the application:

    node app.js

    The application should now be running on http://localhost:3000.

Usage

  • Visit http://localhost:3000 to view the application.
  • Register a new user or log in with existing credentials.
  • Perform CRUD operations as per the functionalities provided in the application.

About

This full-stack web application, built using Node.js, Express.js, and MongoDB, follows the MVC architecture. It includes comprehensive authentication and authorization features, along with CRUD operations and cloud-based image uploads via Cloudinary. The project demonstrates session management and uses EJS for templating.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published