Simple blog page with vuejs as frontend and django-rest as backend + perfect authentication :)
First you should make venv for this project. So in the backend folder you should type this command in your Terminal or Console:
python -m venv venv
Now you should activate your venv. So in the main root of project you should type this command in your Terminal or Console:
In Linux/macOS:source venv/bin/activateIn Windows:
./venv/Scripts/activate
After activating venv you should install the requirements.txt packages. So type this command in your Terminal or Console:
pip install -r requirements.txt
After installing packages migrate database:
python manage.py migrate
If in windows command python didn't work please try with py
First of all, please enter the following command in the Terminal or Console to make sure the project is configured correctly:
python manage.py check
You should see This message:
"System check identified no issues (0 silenced)."
If you see this message you can run project. So type this command in Terminal or Console:
python manage.py runserver
Now copy/paste this address in your browser URL bar:
http://127.0.0.1:8000/swagger
First you should install all packages that related to nodejs and vuejs. So in the frontend folder you should type this command in your Terminal or Console:
npm i
After installing needed packages run this code to run project in your localhost:8080
npm run serve