Code Monkey home page Code Monkey logo

hellocrud's Introduction

Summary

Uses sqlboiler to generate ORM, GraphQL backend, React JS frontend, and Elm app to CRUD against your database schema

Getting started (Docker)

docker-compose up

once you see

graphql_1   | 2018/04/13 05:16:44 Listening at :5000 ...
web_1       | You can now view hellocrud-js in the browser.
web_1       |
web_1       |   Local:            http://localhost:3000/
web_1       |   On Your Network:  http://172.19.0.2:3000/
web_1       |
web_1       | Note that the development build is not optimized.
web_1       | To create a production build, use yarn build.

Omakase

hellocrud's People

Contributors

choonkeat avatar severedsea avatar

Stargazers

Cioclea Doru Octavian avatar Tony Narlock avatar Matt Mc avatar mad cid avatar Nadim Islam avatar William Chanrico avatar leoluk avatar Cheah Chu Yeow avatar HongKheng Yap avatar  avatar  avatar

Watchers

Cheah Chu Yeow avatar  avatar James Cloos avatar  avatar mad cid avatar CY avatar  avatar

hellocrud's Issues

Setup CI

then we can test generating of code, and tests of generated code

Move away from using standard sqlboiler generator for non-orm files?

Type conversions from Postgres to GraphQL is a very distracting chunk of the templates. Wondering if we should have our own cli (using sqlboiler lib nonetheless) to encapsulate them better, and declutter the templates.

A cursory look at sqlboiler main.go doesn’t turn up an easy place to start plugging in...

[js] Move away from using `compose`

Currently the CRUD components are graphql unaware and only get hooked up by compose at the bottom of the js file, together with routing.

However, this makes it hard to include components elsewhere, eg putting a create comment form with the ShowPost component

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.