https://github.com/devmahmud/quiz-backend
https://github.com/devmahmud/quiz-backend
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devmahmud/quiz-backend
- Owner: devmahmud
- Created: 2021-05-01T17:05:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T17:59:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-06T21:46:04.528Z (about 1 year ago)
- Language: JavaScript
- Size: 303 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Venari
A quiz application using Django, DjangoRestFramework and React JS
## Frontend( React )
#### To install dependency
```
yarn install
```
#### To start the server
```
yarn start
```
#### For Production Build
```
yarn build
```
## Backend( Django )
#### Installing
#### Requirements
First create a virtual environment and activate it.
```
pip install -r requirements.txt
```
Input database connection string inside .env file
To migrate the database
```
python manage.py makemigrations
python manage.py migrate
```
To Create a SuperUser
```
python manage.py createsuperuser
```
To run the program in local server use the following command
```
python manage.py runserver
```
Server will be available at `http://127.0.0.1:8000` in your browser
Api documentation will be available at `http://127.0.0.1:8000/docs`
Admin login will be available at `http://127.0.0.1:8000/admin`