Skip to content

Just learning golang (as python dev) and graphql (in future)

Notifications You must be signed in to change notification settings

Rurson/golang_restapi_graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learn golang and graphql through building rest api

This is for fun and learning for python developer who is trying new things.

If you came here somehow, please comment on my work through issues or something else. I would like to get as many opinions as i can get, because more good feedback means better skills.

Used packages

How to run application through console

In project main folder run command

go run api.go

Roadmap

Done

  • simple examples for POST,GET,PUT,DELETE methods in index endpoint (handlers/index_hendler.go)
  • geting/sendind json body through endpoint with bindings (handlers/user_hendler.go)
  • CRUD opartions on mocked database on slices and structs (handlers/user_hendler.go)

In-Progres

  • docstrings
  • searching for the meaning of life
  • don't know what am i doing...

Todo

  • getting form-based parameters
  • getting query string
  • routing
  • testing
  • data validation
  • authentication
  • middlewares
  • cookies
  • connection to db
  • db models
  • Entities (clean architecture)
  • Services (clean architecture)
  • Repositories (clean architecture)
  • renderer and templates?
  • move to graphql...
  • ????
  • Profit

About

Just learning golang (as python dev) and graphql (in future)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages