Skip to content

Private Suggestions Portal collaboratively by utilizing Django Rest Framework 3 for the backend and VueJS 3

Notifications You must be signed in to change notification settings

inerttila/Django-Vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django-Vue

  • Private Suggestions Portal collaboratively by utilizing Django Rest Framework 3 for the backend and VueJS 3, with Pinia for the frontend. This platform enables users to submit suggestions and vote, on them. The project is stored in an repository and launching it requires minimal setup. The code is designed to be review friendly facilitating effortless deployment.

Installation with Docker

Build and start on wsl only.

"Before running this, make sure the following path exists: /mnt/c/Local-Shop/. This is done to keep the db.sqlite3 safe."

 docker-compose up --build

To create superuser run in another wsl

docker exec -it inventar-django /bin/bash

python manage.py createsuperuser

Frontend Installation

  cd Django-Vue/front

Install the required Node.js packages:

  npm install

Start the frontend app:

  npm run dev

Backend Installation

Open a new terminal and go to the backend directory:

  cd Django-Vue/reviews
python -m venv env

.\env\Scripts\activate

Install Django Packages

  pip install djangorestframework django-cors-headers
  python manage.py migrate

Create a superuser for the Django project:

  python manage.py createsuperuser
  python manage.py runserver

About

Private Suggestions Portal collaboratively by utilizing Django Rest Framework 3 for the backend and VueJS 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published