# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# 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.graphql, resolver.go and ./graphql_models/*
go run convert_plugin.go
-
...Let's go!
go run server.go resolver.go database.go