A simple website using Django REST and Nuxt.js
- Python >= 3.6
- Django >= 3.0.3
- django-ckeditor >= 5.9.0
- django-3-jet >= 1.0.7
- djangorestframework >= 3.11.0
- django-cors-headers >= 3.2.1
- djangorestframework-simplejwt >= 4.4.0
- django-extra-fields >= 3.0.0
- psycopg2-binary >= 2.8.5
- feedparser >= 5.2.1
- mysqlclient >= 1.4.6
- nuxt >= 2.14.0
- bootstrap >= 4.5.0
- bootstrap-vue >= 2.15.0
- jarallax >= 1.12.1
- object-fit-images >= 3.2.4
-
Create database in MySQL
CREATE DATABASE wiki CHARACTER SET utf8 COLLATE utf8_general_ci;
-
Update database
~/wiki$ python3 manage.py makemigrations ~/wiki$ python3 manage.py migrate
-
Collect static files
~/wiki$ python3 manage.py collectstatic
-
Run API server at localhost:8000
~/wiki$ python3 manage.py runserver
-
Install frontend dependencies
~/wiki/NuxtFrontend$ npm install
-
Serve with hot reload at localhost:3000
~/wiki/NuxtFrontend$ npm run dev