https://github.com/abhishek-mallick/assessment360
Assessment360 aims to revolutionize assignment management by making it simple, efficient, and meaningful for all stakeholders. Our solution is designed to help educational institutions gain a competitive edge.
https://github.com/abhishek-mallick/assessment360
admin-panel announcements assignment community dashboard django hackathon management-system python
Last synced: about 1 year ago
JSON representation
Assessment360 aims to revolutionize assignment management by making it simple, efficient, and meaningful for all stakeholders. Our solution is designed to help educational institutions gain a competitive edge.
- Host: GitHub
- URL: https://github.com/abhishek-mallick/assessment360
- Owner: Abhishek-Mallick
- License: mit
- Created: 2024-02-02T04:46:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T17:07:50.000Z (over 2 years ago)
- Last Synced: 2025-04-15T22:59:02.422Z (over 1 year ago)
- Topics: admin-panel, announcements, assignment, community, dashboard, django, hackathon, management-system, python
- Language: HTML
- Homepage: https://assessment360.pythonanywhere.com/
- Size: 9.39 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Assessment360
Assessment360 aims to revolutionize assignment management by making it simple, efficient, and meaningful for all stakeholders. Our solution is designed to help educational institutions gain a competitive edge.
### Deployed live at : [Assessment360](https://assessment360.pythonanywhere.com/)
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/Abhishek-Mallick/Assessment360.git
cd Assessment360
```
2. **Set up MongoDB:**
- Make sure MongoDB is installed and running on your machine or you can use my mongo db test url.
- Create a `.env` file in the root directory with the following content:
```env
MONGO_URL=mongodb://localhost:27017/Assessment360
```
or
```
MONGO_URL = "mongodb+srv://:@..mongodb.net/?retryWrites=true&w=majority"
```
3. **Set up Enviornment Variables**
- Create a `.env` file on the base of the directory. On the `.env` file add the variables:
```
MONGO_URL=""
MAIL_SERVER="" (eg: smtp.gmail.com)
MAIL_PORT=465
MAIL_USERNAME=""mallickabhishek.64@gmail.com""
MAIL_PASSWORD=""
O_AUTH_CLIENT_ID=""
```
## Running the Application
1. **Setting up Virtual Enviornment (venv)**
```bash
python -m venv venv
./venv/Scripts/activate
```
2. **Installing dependencies**
```bash
pip install -r "requirements.txt"
```
3. **Creating super_user**
```bash
python manage.py createsuperuser"
```
4. **Running the Application**
```bash
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
```
## Default Logins and Passwords
| Type | UserId | Password |
| ------ | -------------------- | ------------------- |
| `Faculty` | `202` | pass@123 |
| `Student` | `402` | pass@123 |
## Endpoints
### Admin (super_user)
| Method | Endpoint | Description | Request Body | Response Body |
| ------ | -------------------- | ------------------- | ----------------------------- | -------------------------- |
| `POST` | `/admin/register` | Register a new Admin | JSON: {name,priority} | JSON: {token,user,admin_id} |
| `GET` | `/admin/:id` | Get Admin details | NULL | JSON: {admin} |
### Tasks
| Method | Endpoint | Description | Query | Headers | Request Body | Response Body |
| -------- | -------------------- | -------------------------- | --------------------------------------- | ------------------------------- | ---------------------------------- | -------------------------------------------- |
| `GET` | `/student/assignment` | Get all Assignemnts of the Student of all courses | priority, status, due_date, page, limit | Authorization: student_id | N/A | JSON: {docs,totalDocs,page,limit,totalPages} |
| `POST` | `/student/update-assign` | Create a new Assignment for Student under a Course | N/A | Authorization: student_id | JSON: {title,description,due_date,pdf_location} | JSON: {task,assign_id} |
| `DELETE` | `/api/task/:task_id` | Soft Delete Assignment for Student | N/A | Authorization: student_id | N/A | JSON: {task,assign_id} |
### Sub Tasks
| Method | Endpoint | Description | Query | Headers | Request Body | Response Body |
| -------- | ------------------------ | ------------------------------ | ------- | ------------------------------- | --------------- | ----------------------- |
| `GET` | `/discussion` | Get all Discussion of the User | task_id | Authorization: stud_id | N/A | JSON: {subTasks} |
| `GET` | `/tests` | Get all tests allocated to the User | stud_id | Authorization: stud_id | N/A | JSON: {subTasks} |
| `POST` | `/tests/update` | Create a new submit for test by Student under Course | N/A | Authorization: stud_id | JSON: {task_id} | JSON: {subTask,test_id} |
| `DELETE` | `/tests/:test_id` | Delete test for student by faculty | stud_id | Authorization: stud_id | N/A | JSON: {subTask,test_id} |
## Webapp Preview











