Giter Site home page Giter Site logo

david0718 / gnorm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gnormal/gnorm

0.0 0.0 0.0 11.73 MB

A database-first code generator for any language

Home Page: https://gnorm.org

License: Other

Go 21.84% HTML 13.75% CSS 22.63% JavaScript 34.43% SCSS 7.35%

gnorm's Introduction

Build Status

GNORM

GNORM is Not an ORM.

About

Gnorm converts your database's schema into in-memory data structures which you can then feed into your own templates to produce code or documentation or whatever.

Gnorm is written in Go but can be used to generate any kind of textual output - ruby, python, protobufs, html, javascript, etc.

Gnorm uses templates you control, so that you can make the output look exactly how you want it to look. It can be used to generate type-safe database queries that are faster than a traditional ORM. It can also be used to create a REST or RPC API that exposes the data in your database.

Documentation

https://gnorm.org

Installing

Gnorm has no dependencies, just download and run the executable for your operating system. See our latest release.

Building

Note: Gnorm uses a go vanity url. To install with go get, run

go get gnorm.org/gnorm

However, using go get to install will mean that gnorm version doesn't report the correct data, and gnorm docs won't show you the docs in your browser.

For best results, use the magefile in the root of the repo, which will do all the build-time magic. To run it, install mage, then just run mage build.

$ go get github.com/magefile/mage
$ mage build

If you want to git clone instead (which should work fine since we vendor all dependencies), make sure you git clone into $GOPATH/src/gnorm.org/gnorm.

Discussion

If you have questions about Gnorm or want to hack on it, meet the devs on the #gnorm channel of gopher slack.

There's also the #gnorm-dev channel which has github integrations showing the work going on.

Contributing

See CONTRIBUTING.md

gnorm's People

Contributors

daniel-reed avatar etomyutikos avatar freb avatar gernest avatar jessedearing avatar natefinch avatar ninjawule avatar saward avatar verygoodsoftwarenotvirus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.