Donut app

A website that can record everyone’s donut perference and available donuts.

Technology used

Back end


  • Postgres

Front end

  • react

Entity relationshop diagram

Entity relatinship diagram


Create database:

createdb donut_app_db

Run server:

cd server

go run server.go

Initial Steps

  1. go mod init
  2. go get
  3. brew install sqlc
  4. Write schema.sql
  5. write queries.sql queries
  6. write schema.graphqls same as schema.sql
  7. write schema.resolver.go according to queries.sql.go


View Github