svelte-django-dockerized Svelte Themes

Svelte Django Dockerized

Template project with CSR Svelte Routify and Django DRF, tools for easier project maintenance and VS Code integration

Welcome

This is an opinionated project template emphasizing productivity, allowing development for a project to hit the ground running.

Stack

api - Django 4.0, Python 3.10

Django provides the versatility and utilitarianism available only through Python3.

Django's ORM provides robust models, clear fields and relationships with a distinctly powerful query system that trivializes the capability to reach across multiple table relationships.

For API endpoints, this template emphasises use of The Django Rest Framework

Additionally, Django provides a built in administation site for managing users, permissions and other entries for models in your project.

# Create your model
# blog.models

class BlogPost(BaseModel):
    author = models.ForeignKey("account.user", on_delete=models.CASCADE)
    title = models.CharField(min_length=25)
    body = models.TextField()
    published = models.BooleanField(default=True)
# Generate your migration files for the blog app

$>  python manage.py makemigrations blog
# Apply all your migrations to the database

$> python manage.py migrate
# Query for all blog entries containing "Spokane" in the title, 
# and were authored by an administrator

entries = BlogPost.objects.filter(title__icontains="Spokane", author__is_superuser=True)

For in-depth documentation and tutorials, refer to The Django Project.

client - Svelte

  • TODO

storybook - Svelte

  • TODO

maildev- Maildev

  • TODO

db - Postgresql

  • TODO

Getting Started

  • TODO

Changelog

  1. Initial

TODO

  • Rewrite bash scripts

Top categories

Loading Svelte Themes