Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cploutarchou/microgo

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.
https://github.com/cploutarchou/microgo

api cms-framework django django-application framework go golang golang-application gorest laravel orm

Last synced: 3 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

![logo](https://raw.githubusercontent.com/cploutarchou/MicroGO/master/docs/cover.png)
# 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](https://github.com/cploutarchou/MicroGO.git)
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](#how-to-use-microgo) for more information.:
1. Download the binaries from [GitHub Releases](https://github.com/cploutarchou/MicroGO/releases)
2. Or run the following command:
```bash
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](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?hosted_button_id=EH6BNRFVPZ63N)