command
Version:
v0.0.0-...-4e6cce8
Opens a new window with list of versions in this module.
Published: Dec 30, 2020
License: MIT
Opens a new window with license information.
Imports: 27
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This is an example social media backend: see how this is generated from scratch.
Generated files in this example
- graphql_models/*
- models/*
- helpers/*
- resolver.go
TODO: make Youtube video for this example
Steps to make this project
-
Start MariaDB container with social network.sql
docker-compose up -d
-
Generate /models/* files
sqlboiler mysql --no-back-referencing -d
--no-back-referencing if you don't set it your program will crash with recursive converts!
-
Generate schema.grapql, converts (helpers/*) and resolver.go
go run convert_plugin.go
-
...Let's go!
go run server.go resolver.go database.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.