Brief project description here.
Provide a brief overview of the project, its purpose, and any key features.
userId
: Primary keyprofileImage
: VARCHAR(20)dob
: DATEgraduation
: DATEwork
: BOOLEANadharcard
: BOOLEANuserName
: VARCHAR(20) (Not null)email
: VARCHAR(20) (Not null)phoneNumber
: VARCHAR(20) (Not null)
courseId
: Primary keytitle
: VARCHAR(20) (Not null)startDate
: DATEcourseTypes
: ENUM (UXUI, WD, DA, AD)batch
: BOOLEANuser_Id
: INTEGER (References User)
msatId
: Primary keyattempt
: INTEGERuser_Id
: INTEGER (References User)
sub_sectionId
: Primary keysub_section_name
: VARCHAR(20) (Not null)msat_id
: VARCHAR (References MSAT)score
: INTEGER
question_id
: Primary keyquestion_text
: VARCHAR(255) (Not null)sub_sectionId
: VARCHAR (References MSAT Subsection)
option_id
: Primary keyoption_text
: VARCHAR(255) (Not null)question_id
: VARCHAR (References Question)is_correct
: BOOLEAN (Not null)
activitiesId
: Primary keytype
: BOOLEAN (webinar/master class)photoUrl
: VARCHARinstructor_name
: VARCHARstartDate
: DATETIMEendDate
: DATETIMEregister
: BOOLEANvedioUrl
: VARCHARzoomlink
: VARCHARuser_Id
: INTEGER (References User)
List the available API endpoints and their descriptions here.
Welcome to the backend API documentation for our project. This documentation provides information on available endpoints and how to use them for frontend development.
- URL:
https://dash-board.up.railway.app/register
- Method:
POST
- Description: Register a new user.
- Request Body:
- Include user registration details.
- URL:
https://dash-board.up.railway.app/log-in
- Method:
POST
- Description: Log in an existing user.
- Request Body:
- Include user login credentials.
- URL:
https://dash-board.up.railway.app/logout
- Method:
GET
- Description: Log out the authenticated user.
- Authentication: Requires user authentication.
- URL:
https://dash-board.up.railway.app//update-profile
- Method:
PATCH
- Description: Update the user's profile.
- Authentication: Requires user authentication.
- URL:
https://dash-board.up.railway.app/user-details
- Method:
GET
- Description: Retrieve user details.
- Authentication: Requires user authentication.
- URL:
https://dash-board.up.railway.app/activities
- Method:
POST
- Description: Create a new activity.
- Authentication: Requires user authentication.
- Request Body:
- Include details for the new activity.
- URL:
https://dash-board.up.railway.app/activities
- Method:
GET
- Description: Retrieve a list of all activities.
- URL:
https://dash-board.up.railway.app/activities/:activityId
- Method:
GET
- Description: Retrieve an activity by its ID.
- URL:
https://dash-board.up.railway.app/type
- Method:
GET
- Description: Retrieve activities by type.
activities?type=1 then it will give result according to masterclass elseif activities?type=0 according to webinar else activities according to that we get all activities
- URL:
https://dash-board.up.railway.app/activities/:activityId
- Method:
DELETE
- Description: Delete an activity by its ID.
- Authentication: Requires user authentication.
- URL:
https://dash-board.up.railway.app/courses
- Method:
POST
- Description: Create a new course.
- Request Body:
- Include details for the new course.
- URL:
https://dash-board.up.railway.app/courses
- Method:
GET
- Description: Get all courses.
- URL:
https://dash-board.up.railway.app/msat
- Method:
POST
- Description: Create MSAT models.
- URL:
https://dash-board.up.railway.app/msat
- Method:
GET
- Description: Retrieve a list of all MSAT records.
- URL:
https://dash-board.up.railway.app/msat/score
- Method:
PATCH
- Description: Calculate MSAT scores.
- URL:
https://dash-board.up.railway.app/msat/user-score
- Method:
GET
- Description: Retrieve a user's MSAT score.
- Authentication: Requires user authentication.
Feel free to refer to this documentation while working on the frontend to understand the available endpoints and their usage.