/uthaan-backend

Uthaan is a journalism and recreational forum of the institute, by the students for the students. This forum has been formed in order to enable the all-around development of the students in all facets of life.

Primary LanguageJavaScriptMIT LicenseMIT

Uthaan

The backend repository of the official Uthaan website.

Features Implemented

1. Auth Routes

  • login
    • Users can login by entering only the valid credentials
    • Verification is done using JWT token
  • addAdmin
    • Checks are added to make sure valid credentials have been input
    • Only existing admins can add a new admin

2. API Routes

  • Events
    • addEvent
      • Adds an event to the database
    • getEvents
      • Fetches all events from the database
  • Shows
    • getShow
      • Fetches a given show from the database
    • addShow
      • Adds a new show to the database
  • Articles
    • getArticles
      • Fetches details of all articles from the articles API
  • Interviews
    • getInterviews
      • Fetches details of all interviews from the interviews API
  • Images
    • getImages
      • Fetches all the images from the database
    • uploadImage
      • Uploads images to the gallery
    • deleteAllImages
      • Deletes all images stored in the database
    • deleteImage
      • Deletes a single image from the database
  • Team
    • getTeams
      • Fetches all the team members, sorted by their roles
    • addTeamMember
      • Adds a team member
    • updateTeamMember
      • Updates the information of a team member
  • Messages
    • sendMessage
      • Message can be sent to the club by entering contact details along with the message
    • getMessages
      • Fetches all the messages sent through the website

Built With

  • Express.js
  • Node.js
  • MongoDB
  • Bcrypt
  • CORS
  • Cloudinary
  • Formidable
  • JWT
  • Babel

If you want to contribute into this project, go through our contributing guide

Connect With Us

uthaan uthaan uthaan @uthaan uthaan uthaan