Skip to content

Event Sync is a full-stack web app built using the tech stack (MongoDB, Express.js, React, and Node.js). This application allows users to add new events, edit existing ones, delete events, and view a list of all events.

Notifications You must be signed in to change notification settings

Bushra-naeem/event-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Event Sync

Introduction

Event Sync is a full-stack web app built using the tech stack (MongoDB, Express.js, React, and Node.js). This application allows users to create, manage, and participate in events. Users can add new events, edit existing ones, delete events, and view a list of all events. Additionally, reminders can be toggled for each event, ensuring users never miss an important date.

Approach to Create Event Sync

  1. Define the structure of an event:
  • Use Mongoose schemas in a model file (e.g., Event.js).
  1. Develop routes for CRUD operations:
  • Create a dedicated eventRoutes.js file for handling Create, Read, Update, and Delete operations.
  1. Set up MongoDB database:
  • Establish a connection in your Express application.
  1. Create a server file:
  • Configure Express to listen on a specific port in a server.js file.
  1. Design and implement a form component:
  • Use EventForm.js for adding new events.
  1. Develop a component to display events:
  • Use EventList.js to fetch and display a list of events from the server.
  1. Create a detailed event display component:
  • Use EventItem.js with features like editing, toggling reminders, and deleting.
  1. Style your components:
  • Utilize CSS to create an engaging user interface.

Technologies Used

  • Frontend: React.js, CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB

Installation

Prerequisites

Ensure you have the following installed:

  • Node.js
  • MongoDB

Setup

  1. Clone the repository:

    git clone https://github.com/bushra-naeem/event-sync.git
  2. Navigate to the project directory:

    cd event-sync

Backend Setup

  1. Navigate to the backend directory:

    cd backend
  2. Install backend dependencies:

    npm install
  3. Create a .env file in the backend directory and add your environment variables:

    MONGO_URI=your_mongodb_connection_string
    PORT=5000
  4. Start the backend server:

    npm start

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install frontend dependencies:

    npm install
  3. Start the frontend development server:

    npm start

Usage

Deployment

Frontend

  1. Build the frontend for production:

    npm run build
  2. Deploy the build folder to Netlify or any static hosting service.

Backend

  1. Deploy the backend to Heroku or any Node.js hosting service.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for review.

Let's Connect

Have questions or feedback? I'd love to hear from you! Feel free to reach out through the following social accounts:

Looking forward to collaborating and building amazing things together!🤍

About

Event Sync is a full-stack web app built using the tech stack (MongoDB, Express.js, React, and Node.js). This application allows users to add new events, edit existing ones, delete events, and view a list of all events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published