Skip to content

Vaibhavsahu2810/MajorProject

Repository files navigation

Tripz: A Learning Journey with Express

Welcome to Tripz, my inaugural project where I dive deep into the world of Express and its libraries. This website showcases my understanding and practical application of various Express concepts and features. Your feedback is invaluable as I continue to learn and grow in my web development journey.

Visit the website: Tripz Listings

Overview

Tripz is a web application that lists various travel destinations, helping users to explore and plan their trips. Built with Express, this project incorporates essential features and best practices, demonstrating the following:

  • Setting up a basic Express server.
  • Handling routes and middleware.
  • Integrating third-party libraries.
  • Connecting to a database.
  • Rendering views and managing templates.
  • Implementing error handling and logging.

Features

  • Dynamic Listings: Browse through a variety of travel destinations.
  • Search Functionality: Easily find specific listings based on your preferences.
  • Responsive Design: Enjoy a seamless experience on both desktop and mobile devices.
  • Interactive UI: Engage with a user-friendly interface designed for smooth navigation.
  • CRUD Operations: Perform Create, Read, Update, and Delete operations on listings.
  • User Authentication: Secure user authentication using bcrypt for password hashing.
  • Image Uploads: Seamlessly upload and manage images using Cloudinary.

Libraries and Tools Used

  • Express: The core framework for building the server-side logic.
  • MongoDB: For data storage and retrieval.
  • Mongoose: To model and manage application data.
  • EJS: For templating and rendering dynamic web pages.
  • Body-parser: To parse incoming request bodies.
  • Morgan: For HTTP request logging.
  • Tailwind CSS: For utility-first CSS styling.
  • Bootstrap: For responsive, mobile-first front-end web development.
  • bcrypt: For password hashing and security.
  • Google Icons: For enhancing UI with easily recognizable icons.
  • Google Fonts: For incorporating beautiful and customizable fonts.
  • Cloudinary: For handling image uploads and storage.

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/your-username/tripz.git
    cd tripz
  2. Install dependencies:

    npm install
  3. Set up the environment variables: Create a .env file in the root directory and add your MongoDB connection string and other necessary configuration.

    MONGODB_URI=your_mongodb_uri
    CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
    CLOUDINARY_API_KEY=your_cloudinary_api_key
    CLOUDINARY_API_SECRET=your_cloudinary_api_secret
    PORT=3000
  4. Run the application:

    npm start

    Visit http://localhost:3000/listings to see the application in action.

Contributing

I welcome contributions and feedback! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Feedback

Your feedback is crucial to me. Please visit Tripz Listings and share your queries or opinions. You can also reach out to me via GitHub issues. I appreciate your support and look forward to your constructive feedback.


Thank you for visiting Tripz and supporting my learning journey. Together, let's build something amazing!


Note: This project is a part of my learning experience and may contain areas that are still under development. Your patience and understanding are appreciated.


Feel free to customize this README to better suit your project's needs. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published