GithubHelp home page GithubHelp logo

eventscape's Introduction

EventScape

EventScape is a full-stack web application built with the MERN (MongoDB, Express.js, React, Node.js) stack. It serves as an admin-only platform for managing events. Registered users can perform operations such as viewing, updating, deleting, and posting new events. Non-registered users have the ability to browse and view all events along with their details.

Table of Contents

Features

  1. User Authentication: Secure user authentication using JWT (JSON Web Tokens) and bcrypt for password hashing.

  2. Event Operations:

    • View: Registered users can view a list of events.
    • Update: Users with admin privileges can update event details.
    • Delete: Admins can delete events.
    • Post: Admins can post new events.
  3. Non-Registered User Access: Non-registered users can browse and view all events and their details.

Technologies Used

Backend

  • Node.js
  • Express.js
  • MongoDB (Database)
  • Mongoose (Object Modeling for MongoDB)
  • JWT (JSON Web Tokens for authentication)
  • Bcrypt.js (Password hashing)

Frontend

  • React.js
  • React Router DOM (Declarative routing for React.js)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/EventScape.git
  2. Navigate to the project directory:

    cd EventScape
  3. Install dependencies:

    # Install global dependencies
    npm install
    
    # Navigate to the backend directory and install server-side dependencies
    cd backend
    npm install
    
    # Navigate to the frontend directory and install client-side dependencies
    cd frontend
    npm install

Usage

  1. Set up MongoDB: Make sure to have MongoDB installed and running.

  2. Configure Environment Variables: Create a .env file in the root directory and set the necessary environment variables, including MongoDB connection URI, JWT secret, etc.

    MONGODB_URI=your-mongodb-connection-uri
    JWT_SECRET=your-jwt-secret
  3. Start the application:

    # Start the server
    cd backend
    npm start
    
    # Navigate to the client directory and start the React app
    cd client
    npm start
  4. Open your browser and go to http://localhost:3000 to access the application.

Contributing

Contributions are welcome! (want to add user and admin logins separately, as per now whoever login, is an admin)

Preview

Home page: image

All events page: image

Add new event: image

Event details page: image

Newsletter page: image

Login & Register page: image image

Users collection in MongoDB: image

Events collection in MongoDB: image

eventscape's People

Contributors

hxdy-1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.