A Single Page Application built with Django, Django REST Framework and Vue JS.
This is the source code of my final year web development project.
The task was to develop a web app using different frameworks for the backend and frontend.
Make sure you have python3 and pip installed.
sudo apt install python3-pip
Confirm the pip3 installation.
pip3 --version
Clone / Download the project and move inside the folder.
Now install virtualenv via pip3.
pip3 install virtualenv
Install virtualenvwrapper via pip3:
pip3 install virtualenvwrapper
Once the module is installed we are ready to create virtual environments for Python 3.
python3 -m venv my-project-env
To start using this virtual environment, you need to activate it by running the activate script:
source my-project-env/bin/activate
Now install all the Python/Django dependencies:
pip install -r requirements.txt
cd QuestionBag
python manage.py makemigrations
python manage.py migrate
cd QuestionBag/frontend
npm install
npm run serve
python manage.py runserver
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Special thanks to Mr Michele Saba for his amazing Django REST udemy course .