Educonnect - A fullstack project Live Link
Frontend Link : Developed a comprehensive educational platform using Next.js. & Backend Link : Utilized Node.js for the backend and MongoDB for the database, Integrated Stripe payment Gateway API for payment processing. Implemented role-based access control for students, parents, lecturers, and admins, Provided features such as Login, Signup, Attendance tracking, Payment management, Permission handling, Timetable, Exam arrangements, Homework, and Exam results.
TYPE | LIVE LINK |
---|---|
LIVE LINK | LINK |
Backend Github Link | GitHub |
Fronted Github Link | GitHub |
POST /api/login
Parameter | Type | Description |
---|---|---|
api_key |
string |
Required. Your API key |
GET /api/items/:id
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
Takes two numbers and returns the sum.
POST /api/v1/login
GET /api/v1/signup
Parameter | Type | Description |
---|---|---|
firstName |
string |
Required. Id of item to fetch |
lastName |
string |
Required. Id of item to fetch |
Email |
Email |
Email of the user |
parentEmail |
Email |
Required. For the sudent role signup |
studentEmail |
Email |
Required. For the Parent role signup |
departments |
Array |
This will activate for only student. |
sections |
Array |
Section in the department selected. |
Role |
Array |
selcting the role for the parent& student. |
Student_id |
ID |
Id is grabed from the student email by sending request for ID |
Photo-secure_url |
URL |
Automatically taken Photo link |
Photo-Id |
ID |
To delete the image |
GET /api/v1/Logout
GET /api/v1/getadmins
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
To Get all the Admin List
GET /api/v1/getadmins
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
To Get all the User List
POST /api/v1/updaterole
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Validation |
Required. To validate is Admin or Not |
Role |
String |
Required. To get all the User with the role |
Used to get specific role users
POST /api/v1/getallroles
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Validation |
Required. To validate is Admin or Not |
Used to all the user
PUT /api/v1/adddepartmentforuser/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Validation |
Required. To validate is Admin or Not |
Department |
Array |
Required. |
Section |
Array |
Required. |
POST /api/v1/getalluserforattendance
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Validation |
Required. To validate is Admin or Not |
Department |
String |
Required. |
Section |
String |
Required. |
PUT /api/v1/addsectionindepartment/:id/:department
Parameter | Type | Description |
---|---|---|
isLogined |
validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
validation |
Required. To validate is Admin or Not |
id |
String |
Required. To Find the User |
department |
String |
Required. to find the Department to add the section in the Department Array |
GET /api/v1/getuserinfowithid/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Boolean |
Required. To validate the user login with JSON WEBTOKEN |
id |
ID |
Required. To Find the User |
GET /api/v1/getusersforadmin/:department/:section/:role
Parameter | Type | Description |
---|---|---|
isLogined |
validation |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Validation |
Required. To validate is Admin or Not |
department |
ID |
Required. to find the Department |
section |
ID |
Required. to find the Section users |
role |
ID |
Required. to find the role users |
GET /api/v1/updateuserdata/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Boolean |
Required. To validate the user login with JSON WEBTOKEN |
isAdmin |
Boolean |
Required. To validate is Admin or Not |
id |
ID |
Required. To Find the User |
Body Data |
String |
Required. Data to update user Information |
GET /api/v1/gettimetable/:department/:section
Parameter | Type | Description |
---|---|---|
department |
ID |
Required. To Get the Department Timetable |
section |
ID |
Required. To Get Section Timetable |
GET /api/v1/addtimetable
Parameter | Type | Description |
---|---|---|
Lecturer Id |
ID |
Required. To add the Lecturer ID |
isLecturer |
Validation |
Required. To validate is Admin or Not |
department |
ID |
Required. |
section |
ID |
Required. |
Monday |
Boolean |
Required. |
Tursday |
Boolean |
Required. |
friday |
Boolean |
Required. |
Saturday |
Boolean |
Required. |
Subject Name |
String |
Required. |
Period |
Number |
Required. |
GET /api/v1/getlecturetable
Parameter | Type | Description |
---|---|---|
Lecturer Id |
ID |
Required. To add the Lecturer ID |
isLecturer |
Validation |
Required. To validate is a Lecturer or Not |
POST /api/v1/addSittingArrangement
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
Lecturer Id |
ID |
Required. To add in the sitting arrangement request |
User Id |
ID |
Required. Adding Sitting arrangement for the user |
Room No |
Number |
Required. |
Row No |
Number |
Required. |
Col No |
Number |
Required. |
NoOfRow |
Number |
Required. |
NoOfCol |
Number |
Required. |
Exam Date |
Date |
Required. |
Exam Name |
String |
Required. |
POST /api/v1/findsittingarragement/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEBTOKEN |
Lecturer Id |
ID |
Required. To add in the sitting arrangement request |
UserID |
ID |
Required. To Find the User Sitting plain |
GET /api/v1/findsittingarragement/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
Lecturer Id |
ID |
Required. To add in the sitting arrangement request |
POST /api/v1/addsection
Parameter | Type | Description |
---|---|---|
Section |
String |
Required. |
GET /api/v1/listsection
POST /api/v1/adddepartment
Parameter | Type | Description |
---|---|---|
Department |
String |
Required. |
GET /api/v1/listdepartment
POST /api/v1/listdepartmentspecific
Parameter | Type | Description |
---|---|---|
Department |
String |
Required. |
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
###Payment with Stripe
GET /api/v1/payment/:id
Parameter | Type | Description |
---|---|---|
Id |
String |
Required. Payment Id |
###Payment with Stripe
GET /api/v1/payment/:id
Parameter | Type | Description |
---|---|---|
Id |
String |
Required. Payment Id |
POST /api/v1/addpayment
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
Sid |
String |
Required. |
Amount |
Number |
Required |
LastDay |
Date |
Required |
Title |
String |
Required. |
Description |
String |
Required |
GET /api/v1/getpaymentlist/:sid
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
sid |
String |
Required |
GET /api/v1/findpaymentpendingcount/:sid
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
sid |
String |
Required |
GET /api/v1/findpaymentpendingcount/:sid
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
sid |
String |
Required |
GET /api/v1/checkstatus/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
id |
String |
Required |
GET /api/v1/addleave
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
subject |
String |
Required |
description |
String |
Required |
fromDate |
Date |
|
toDate |
Date |
|
Duration |
Number |
GET /api/v1/viewleaveuser/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
GET /api/v1/permissionpendingcount/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
GET /api/v1/viewleavelecture
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
isLecturer |
Validation |
Required. To validate is a Lecturer or Not |
GET /api/v1/viewleavestudent
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
PUT /api/v1/updateleave/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
PUT /api/v1/updatepermissionparent/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
PUT /api/v1/updateleavestudent/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
PUT /api/v1/deleteleave/:id
Parameter | Type | Description |
---|---|---|
isLogined |
Validation |
Required. To validate the user login with JSON WEB TOKEN |
ID |
String |
Required |
POST /api/v1/addhomeworklecture