Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Session Management Web App

This is a simple web application that allows users to manage sessions with mentors. Users can book, cancel, and reschedule sessions with mentors. The application is built using the MERN (MongoDB, Express.js, React.js, Node.js) stack.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js and npm (Node Package Manager)
  • MongoDB (Make sure MongoDB is running locally or provide a connection URI)
  • Git (optional)

Installation

  1. Clone the repository:

    git clone https://github.com/garvit-001/LP-Tech.git
    cd LP-Tech
    
  2. install backend dependencies cd backend npm install

  3. Configure the MongoDB connection: Open DB.js and update the MongoDB connection URI as needed.

  4. Run the application: nodemon App.js

API Endpoints

Cancel Session: Endpoint: DELETE /cancel_session/:session_id Request Body: { "session_id": "your_session_id" }

Reschedule Session: Endpoint: PUT /reschedule_session/:session_id Request Body: { "new_date": "2024-03-17", "new_time": "15:00:00" }

Book Recurring Sessions: Endpoint: POST /book_recurring_sessions Request Body: { "userId": 1, "mentorId": 2, "start_date": "2024-03-10", "interval": 1, "duration": 3 }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages