-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from ShahriarDhruvo/tashfi
Tashfi
- Loading branch information
Showing
100 changed files
with
1,360 additions
and
742 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
# DU_Hackathon | ||
This is project idea & implementation for DU itverse hackathon | ||
# ClassPortal | ||
<i>ClassPortal</i> is a project that simplifies the E-learning processes. | ||
|
||
# Project Purpose | ||
Because of the Covid-19 outbreak coutries are in lockdown, educational institutes has been closed for a long time now. As a result the whole education system has become a messy. <br /> <br /> | ||
Even though a lot of institutes are try to take classes online, they aren't becoming so efficient. Even students and teachers needs to have accounts in multiple flatforms to stay in sync. As example, maybe teacher will take class in an online video conference app. But to have all students joined here, teacher needs to give link in an another platform. Then students may have any query for teacher, again for this reason they need to have accounts in a chatting application. So number of acounts goes up and up. | ||
So in ClassPortal we tried to solve this part. We developed a web application where teacher can create Room and can post class links, students can comment/question, teacher can create different sections according to types of information he/she can share. | ||
<br /> <br /> | ||
In this lockdown our <b>Hands-on Laboratory Activities</b> are suffering the most. Because Laboratory Activities are needed to conduct live. Even if we try to minimize it by arranging video conference, it won't be successful because students can't participate in the hands on laboratory experiments. | ||
<br /> <br /> | ||
So, as the major part of our <i>ClassPortal</i> we tried to solve this issue by introducing <b>Interactive Simulation</b> in our project. | ||
|
||
![alt text](https://github.com/ShahriarDhruvo/HackTheVerse_SUST_NOOBs/blob/main/Cell_Simulation_Screenshots/Screenshot%20(150).png?raw=true) | ||
|
||
![alt text](https://github.com/ShahriarDhruvo/HackTheVerse_SUST_NOOBs/blob/main/Cell_Simulation_Screenshots/Screenshot%20(154).png?raw=true) | ||
|
||
![alt text](https://github.com/ShahriarDhruvo/HackTheVerse_SUST_NOOBs/blob/main/Cell_Simulation_Screenshots/Screenshot%20(155).png?raw=true) | ||
|
||
# How to run this project | ||
1. Install the dependencies in server/requirements.txt | ||
2. Install the dependencies in frontend/package.json | ||
3. Configure your server then Enjoy :-) | ||
|
||
# Frameworks & Libraries | ||
Backend: <br /> | ||
a. Django <br /> | ||
b. Django Rest Framework <br /> | ||
c. Django Channels <br /> | ||
d. PostgreSQL <br /> | ||
etc... <br /> | ||
|
||
Frontend: <br /> | ||
a. ReactJS <br /> | ||
b. React-Bootstrap, Material UI <br /> | ||
c. Moment <br /> | ||
etc... <br /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
frontend/public/static/Simulators/CellSimulation/Build/CellSimulation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"companyName": "DefaultCompany", | ||
"productName": "DU Hackathon", | ||
"productVersion": "0.1", | ||
"dataUrl": "CellSimulation.data.unityweb", | ||
"wasmCodeUrl": "CellSimulation.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "CellSimulation.wasm.framework.unityweb", | ||
"graphicsAPI": ["WebGL 2.0","WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"default": "must-revalidate"}, | ||
"developmentBuild": false, | ||
"multithreading": false, | ||
"unityVersion": "2019.2.12f1" | ||
} |
Binary file added
BIN
+4.25 MB
frontend/public/static/Simulators/CellSimulation/Build/CellSimulation.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+85.1 KB
...tend/public/static/Simulators/CellSimulation/Build/CellSimulation.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
frontend/public/static/Simulators/CellSimulation/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
frontend/public/static/Simulators/CellSimulation/TemplateData/UnityProgress.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function UnityProgress(unityInstance, progress) { | ||
if (!unityInstance.Module) | ||
return; | ||
if (!unityInstance.logo) { | ||
unityInstance.logo = document.createElement("div"); | ||
unityInstance.logo.className = "logo " + unityInstance.Module.splashScreenStyle; | ||
unityInstance.container.appendChild(unityInstance.logo); | ||
} | ||
if (!unityInstance.progress) { | ||
unityInstance.progress = document.createElement("div"); | ||
unityInstance.progress.className = "progress " + unityInstance.Module.splashScreenStyle; | ||
unityInstance.progress.empty = document.createElement("div"); | ||
unityInstance.progress.empty.className = "empty"; | ||
unityInstance.progress.appendChild(unityInstance.progress.empty); | ||
unityInstance.progress.full = document.createElement("div"); | ||
unityInstance.progress.full.className = "full"; | ||
unityInstance.progress.appendChild(unityInstance.progress.full); | ||
unityInstance.container.appendChild(unityInstance.progress); | ||
} | ||
unityInstance.progress.full.style.width = (100 * progress) + "%"; | ||
unityInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
unityInstance.logo.style.display = unityInstance.progress.style.display = "none"; | ||
} |
Binary file added
BIN
+13 KB
frontend/public/static/Simulators/CellSimulation/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
frontend/public/static/Simulators/CellSimulation/TemplateData/fullscreen.png
Oops, something went wrong.
Binary file added
BIN
+155 Bytes
...end/public/static/Simulators/CellSimulation/TemplateData/progressEmpty.Dark.png
Oops, something went wrong.
Binary file added
BIN
+159 Bytes
...nd/public/static/Simulators/CellSimulation/TemplateData/progressEmpty.Light.png
Oops, something went wrong.
Binary file added
BIN
+137 Bytes
...tend/public/static/Simulators/CellSimulation/TemplateData/progressFull.Dark.png
Oops, something went wrong.
Binary file added
BIN
+142 Bytes
...end/public/static/Simulators/CellSimulation/TemplateData/progressFull.Light.png
Oops, something went wrong.
Binary file added
BIN
+2.29 KB
...tend/public/static/Simulators/CellSimulation/TemplateData/progressLogo.Dark.png
Oops, something went wrong.
Binary file added
BIN
+2.21 KB
...end/public/static/Simulators/CellSimulation/TemplateData/progressLogo.Light.png
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
frontend/public/static/Simulators/CellSimulation/TemplateData/style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.webgl-content * {border: 0; margin: 0; padding: 0} | ||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
|
||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;} | ||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;} | ||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;} | ||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;} | ||
|
||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');} | ||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');} | ||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');} | ||
|
||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} | ||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} | ||
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} | ||
.webgl-content .footer .title {margin-right: 10px; float: right;} | ||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} |
Binary file added
BIN
+3.5 KB
frontend/public/static/Simulators/CellSimulation/TemplateData/webgl-logo.png
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
import React from "react"; | ||
import { Button, Card, Col, Container, Row } from "react-bootstrap"; | ||
import { Link } from "react-router-dom"; | ||
|
||
const BiologySimulations = (props) => { | ||
return ( | ||
<Container className="mt-7"> | ||
<Row> | ||
<Col> | ||
<Card> | ||
<Card.Img | ||
variant="top" | ||
src="/static/img/Simulations/CellSimulation.jpg" | ||
/> | ||
<Card.Body> | ||
<Card.Title>Cell Simulation</Card.Title> | ||
<Card.Text> | ||
The cell is the basic structural, functional, | ||
and biological unit of all known organisms. A | ||
cell is the smallest unit of life. Cells are | ||
often called the "building blocks of life". The | ||
study of cells is called cell biology. | ||
</Card.Text> | ||
<Button | ||
variant="primary" | ||
as={Link} | ||
to="/simulation/biology/cell/simulation/" | ||
> | ||
Show Simulations | ||
</Button> | ||
</Card.Body> | ||
</Card> | ||
</Col> | ||
|
||
<Col> | ||
<Card> | ||
<Card.Img | ||
variant="top" | ||
src="/static/img/Coming_Soon.jpg" | ||
/> | ||
<Card.Body> | ||
<Card.Title>Coming Soon</Card.Title> | ||
<Card.Text> | ||
Cras cursus magna libero, eu viverra augue | ||
feugiat eget. In hac habitasse platea dictumst. | ||
Etiam ut sem vel magna aliquet maximus. Sed | ||
pulvinar tellus turpis, pharetra porta ligula | ||
dictum ut. | ||
</Card.Text> | ||
<Button disabled variant="primary">Show Simulations</Button> | ||
</Card.Body> | ||
</Card> | ||
</Col> | ||
|
||
<Col> | ||
<Card> | ||
<Card.Img | ||
variant="top" | ||
src="/static/img/Coming_Soon.jpg" | ||
/> | ||
<Card.Body> | ||
<Card.Title>Coming Soon</Card.Title> | ||
<Card.Text> | ||
Cras cursus magna libero, eu viverra augue | ||
feugiat eget. In hac habitasse platea dictumst. | ||
Etiam ut sem vel magna aliquet maximus. Sed | ||
pulvinar tellus turpis, pharetra porta ligula | ||
dictum ut. | ||
</Card.Text> | ||
<Button disabled variant="primary">Show Simulations</Button> | ||
</Card.Body> | ||
</Card> | ||
</Col> | ||
</Row> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default BiologySimulations; |
Oops, something went wrong.