A simple quiz app that determine whether a person is an Extrovert or Intervert by answering a few simple questions.
- Django
- Django Rest framework
- SQLite
- Angular
- Bootstrap
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Open a terminal inside
server
folder - Create a virtual envirnoment
python -m venv venv
- Activate the environment
source ./venv/bin/activate
- Install packages
pip install -r requirements.txt
- Run server by:
python manage.py runserver
- Open a terminal inside
frontend
folder - Install packages using
npm i
command - Run the project using
ng s
command - Visit the website http://localhost:4200
Route | Request |
---|---|
/api/question/ | GET |
/api/question/ | POST |
/api/question/< id >/ | GET |
/api/question/< id >/ | PATCH |
/api/question/< id >/ | PUT |
/api/question/< id >/ | DELETE |
/api/result/ | POST |