Skip to content

It is the complete REST api for an Event listing website built using Nodejs and express. Database used is mongodb.

Notifications You must be signed in to change notification settings

atharvtathe/evently-backend

Repository files navigation

eventy-backend

Simple REST API for an event listing website.

To run first install node modules with the following command :

npm install

Put your database url in the environment variables as DB_URL

Then run with the following command :

npm start

API endpoints

user related endpoints

Open endpoints require no Authentication.

  • create new user : POST /api/users/signup
  • login existing user : POST /api/users/login

events related endpoints

Open endpoints require no Authentication.

  • all events list : GET /api/events/eventlist
  • get a specific event : GET /api/events/:eventID

Endpoints that require Authentication

  • create an event : POST /api/events/event
  • update an event : PATCH /api/events/:eventID
  • delete an event : DELETE /api/events/eventlist
  • get event created by specific user : GET /api/events/myevents/:userID

About

It is the complete REST api for an Event listing website built using Nodejs and express. Database used is mongodb.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published