cdoukoure / spacenews

Django/Nuxt reference application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacenews

Django/Nuxt reference application

Overview

This is an experiment in using NuxtJS (the SSR Vue framework) with Django as a backend. It's otherwise just a stupid simple Hacker News clone.

Django Rest Framework is used to generate the API, with Djoser for auth endpoints (connecting to the NuxtJS auth-module on the frontend).

Both the NuxtJS application and Django API run behind nginx.

This is NOT a production ready application and bugs are to be expected.

I think this is a promising platform for building serious projects, but needs some exploration of the gotchas, pitfalls and strategies.

Getting started

This setup requires Docker.

docker-compose up -d
docker-compose exec django bash
./spacenews/manage.py migrate
./spacenews/manage.py createsuperuser

Once everything is up and running open http://localhost:8000 in your browser.

About

Django/Nuxt reference application

License:MIT License


Languages

Language:Python 53.0%Language:Vue 26.3%Language:JavaScript 12.8%Language:Shell 7.5%Language:Dockerfile 0.4%