• Stars
    star
    110
  • Rank 307,790 (Top 7 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A demo project to show how concise REST APIs can be built in golang.

TODO API

A demo project to show how consise Rest API's can be built in golang.

This is to disperse the myth that api's written in golang cannot be simple and idiomatic like in other programming languages.

Each folder in this repository represents different stages in an api project's life cycle:

  • basestructure/ : Shows to structure your rest project into mudular bits with expressive routing, handlers and middlewares. Subsequent projects in the folder will build on top of basestructure.
  • withmongodb/ : Shows how to handle application configuration using viper, and how make a mongodb connection, and pass it alongside the configuration using struct compositions and methods.
  • withmgonclosures/ : Shows how to pass around application configuration or other shared data around the application using closures, and some of the problems that can arise from using closures.

More Repositories

1

ninja

Ninja is an api cms written in go. The focus is on ease of deployment and ease of setting of an api system for a project with little to no coding.
Go
11
star
2

quickstatic

A fast static site generator written in Rust 🦀🚀. Focusing on powerful content authoring with actual markdown (No MDX or React)
Rust
9
star
3

WT-Monitor-Client

Cross Platform client for the work time monitor. Tested on Mac OSX and windows 10, but should work on linux and older versions of windows too
Go
6
star
4

echo-server

Go
4
star
5

djotters

Djotters is a Djot parser and translater written via parser combinators, in rust.
Rust
4
star
6

cayleygo

Cayley REST interface written in go lang
Go
3
star
7

WT-Monitor-Server

An employee monitoring system that takes screenshots of user systems on a network, and archives the screenshots as compiled videos. While also tracking user login and logout time.
Go
3
star
8

a-dotfile

Vim Script
2
star
9

stormblessed

Rust
2
star
10

contact.info

A contact management and discovery system that lets people find your contact and save your contact to their devices, the way you want it. You specify the display image, the name, etc. It is written in Go (go lang) and uses the cayley graph database to make viewing your connection and contact relationships more intuitive
Go
2
star
11

kitty

1
star
12

sqldb-provider

Go
1
star
13

SpaceApps

Golang powered backend for an application that lets you control your mouse and keyboard, open apps, and execute commands, using screen gestures and voice commands on an android device.
Go
1
star
14

kaku-go

Go lang powered backend for kaku.com.ng
JavaScript
1
star
15

kaku

Leisure on a budget
JavaScript
1
star
16

lioncms

JavaScript
1
star
17

nvim

Lua
1
star