The backend repository of the official Uthaan website.
- 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
- Events
- addEvent
- Adds an event to the database
- getEvents
- Fetches all events from the database
- addEvent
- Shows
- getShow
- Fetches a given show from the database
- addShow
- Adds a new show to the database
- getShow
- Articles
- getArticles
- Fetches details of all articles from the articles API
- getArticles
- Interviews
- getInterviews
- Fetches details of all interviews from the interviews API
- getInterviews
- 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
- getImages
- Team
- getTeams
- Fetches all the team members, sorted by their roles
- addTeamMember
- Adds a team member
- updateTeamMember
- Updates the information of a team member
- getTeams
- 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
- sendMessage
- Express.js
- Node.js
- MongoDB
- Bcrypt
- CORS
- Cloudinary
- Formidable
- JWT
- Babel
If you want to contribute into this project, go through our contributing guide