Hack30 Mini Hackathon project
Quiz Platform
Quizzing platform with chat room to directly talk to instructor in case of any queries.
Web sockets chat is functional but not connected to quiz app.
In order to see it working,
run server with below steps and goto :-
http://127.0.0.1:8000/chatroom/chat/<any random number>
an can see working by opening in two different browsers.
Covid Cases Count
Tracks Covid Cases Daily with search functionality for a particular city
-
Fork this repository.
-
Clone the forked repository from
https://github.com/tusharrao198/themightyduck
-
You can have the project running in a virtual environment or otherwise. Virtual environment is a preferred option.
Steps to set up a virtual environment for this project
-
Create a virtual environment using
python3 -m venv venv
orvirtualenv venv
-
Activate virtual environment -
For Linux
source venv/bin/activate
For Windows
venv\Scripts\activate
-
Install required modules using
pip3 install -r requirements.txt
.
-
-
Store your secrets by adding them at the end of
venv/bin/activate
. They will be set whenever you run the virtual environment.On Linux
export SECRET_KEY=''
On Windows
set SECRET_KEY=''
-
Change directory to src using
cd src
. -
Check your changes before running
python manage.py check
. -
Run the server on your machine using
python manage.py runserver
. Now head over to the url provided in the terminal after running server. orhttp://127.0.0.1:8000/
To check created REST API Data using django rest framework :
http://127.0.0.1:8000/covidtracker/api/districts/
http://127.0.0.1:8000/covidtracker/api/states/
Done!.