Skip to content

Nigel2392/go-django

Repository files navigation

go-django (v2)

1719351174099

Django rewritten to Golang.

This is a rewrite of the Django framework in Golang.

The goal is to provide a similar experience to Django, but with the performance of Golang.

At the core this is meant to be a web framework, but it also includes sub-packages to create a CMS-like experience.

There is a caveat though; we try to touch the database as little as possible.

This means that we don't have a full ORM like Django does.

Any database logic should be implemented by the end-developer, but all sub-packages which require it do provide backends to use with MySQL and SQLite. Postgres is not planned yet.

Latest version: v1.7.0

Installation

The package is easily installed with go get.

go get github.com/Nigel2392/[email protected]

The CLI can optionally be installed with go install.

This will provide some useful utilities to help you get started, like creating a new project, app or Dockerfile.

go install github.com/Nigel2392/go-django/cmd/[email protected]

Or to install the SQLC plugin to auto- generate SQL queries and go-django definitions from your SQL database.

go install github.com/Nigel2392/go-django/cmd/[email protected]

Docs

Contrib apps

Examples

Third-Party & Related Projects

  • go-django-queries - A library to help you create SQL queries specialized (and only useful) for go-django models.

Help Needed

  • Block application:
    • Javascript for structblock
    • Javascript for listblock
    • (maybe) Javascript for fieldblock

About

An attempt at a django-like web framework, written in Go.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published