Skip to content

MicroGO is a web application framework written in Go (Golang). In MicroGO, I take some of the most valuable features in Django and implement similar functionality in Go.

License

Notifications You must be signed in to change notification settings

cploutarchou/microgo

Repository files navigation

logo

The Go version of Django Framework

In MicroGO, I take some of the most valuable features in Django and implement similar functionality in Go.

Since Go is compiled and type-safe, web applications written in this language are typically much faster and far less error-prone than an equivalent application, Django, written in Python.

Requirements

make sure you have the following dependencies:

  1. make - utility for building and maintaining groups of programs.
  2. GoLang - the compiler that MicroGO uses.

How to use MicroGO

  1. Download or clone MicroGO repository from GitHub
  2. Run make build command in the root directory of MicroGO.

Alternative ways to install MicroGO binaries

Currently, the auto install script is only available for Linux OS fo other OS, you can manually install MicroGO binaries. See section How to use MicroGO for more information.:

  1. Download the binaries from GitHub Releases
  2. Or run the following command:
    curl -L https://raw.githubusercontent.com/cploutarchou/MicroGO/master/install.sh | bash

MicroGO Terminal Commands:

  • help - Show the help commands
  • version - Print application version
  • make auth - Create and runs migrations for auth tables, create models and middleware.
  • migrate - Runs all up migrations that have not been run previously
  • migrate down - Reverses the most recent migration
  • migrate reset - Runs all down migrations in reverse order, and then all up migrations
  • make migration migration_name - Create two new up and down migrations in the migrations folder
  • make handler handler_name - Create a stub handler on handlers directory
  • make model model_name - Create a new mode in the models directory
  • make key - Create a random key of 32 characters.
  • make mail - Create two starter mail templates in the mail directory.

paypal

About

MicroGO is a web application framework written in Go (Golang). In MicroGO, I take some of the most valuable features in Django and implement similar functionality in Go.

Topics

Resources

License

Security policy

Stars

Watchers

Forks