Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 891 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 891 Bytes

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.