Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pymike00/questiontime
:books: Quora-like Single Page Application built with Django, Django REST Framework and Vue JS (w/ Vite)
https://github.com/pymike00/questiontime
django django-rest-framework django-vue django-vue-js djoser vite vite-drf vue vuejs
Last synced: 17 days ago
JSON representation
:books: Quora-like Single Page Application built with Django, Django REST Framework and Vue JS (w/ Vite)
- Host: GitHub
- URL: https://github.com/pymike00/questiontime
- Owner: pymike00
- Created: 2019-03-23T16:04:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T12:40:04.000Z (9 months ago)
- Last Synced: 2024-10-11T18:16:13.474Z (about 1 month ago)
- Topics: django, django-rest-framework, django-vue, django-vue-js, djoser, vite, vite-drf, vue, vuejs
- Language: Python
- Homepage: https://www.udemy.com/course/the-complete-guide-to-django-rest-framework-and-vue-js/?referralCode=A2FA0F6C1C4BE66A3B3E
- Size: 1.05 MB
- Stars: 86
- Watchers: 8
- Forks: 43
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QuestionTime
**A Quora-like Single Page Application built with Django, Django REST Framework and Vue JS**### How to run the project on your local machine?
#### Clone the repo and move inside it:
```
git clone https://github.com/pymike00/QuestionTime.git
cd QuestionTime
```#### Create a new Python Virtual Environment:
```
python3 -m venv venv
```#### Activate the venv and install Django dependencies:
```
source ./venv/bin/activate
pip install -m ./requirements.txt
```#### Apply Django migrations:
```
python manage.py migrate
```#### Install Node dependencies:
```
cd QuestionTime/vite-frontend
npm install
```#### Run Vite's Development Server:
```
npm run dev
```#### Run Django's development server:
```
python manage.py runserver
```#### Go to http://127.0.0.1:8000 and the app is now running in development mode with Hot Module Replacement!
### What about the Vue CLI implementation?
An older version of this application used Vue CLI, which has since been replaced by Vite. You can still access the Vue CLI implementation [from this branch](https://github.com/pymike00/QuestionTime/tree/legacy-v3).