Live at :- https://event-management-to01.onrender.com
-
POST /events/create
- Creates event by passing all details in request body and returns eventId
-
POST /register/:eventId
- Registers a student for a particular event
-
PUT /events/:eventId
- Updates eventId attributes based on data passed through request body
-
DELETE /events/:eventId
- Deletes events and resgistrations with the given eventId
-
GET /events/:eventId
- Gets event with the given eventId
-
GET /events/all
- Gets all events
- Clone the repository in our local computer
- Open terminal and use command
npm install
to install all the required packages - Create a folder .env and a variable
MONGODB_URL
and give it your mongodb connection string - After installing packages run command
node server.js
and your server will be started