Chi-http example for golang
Chi is great library for creating HTTP services and it has easy routing system.
When I started learning golang, it was little difficult to find basic examples. This repository will try to address some problems that I encountered while learning golang.
This Repository will have basic examples to implement your APIs.
For installing all the dependencies run go get -d ./...
This project didn't update with go mods.
You can start server by running command go run main.go
if you want to restart server on file change follow below steps
- 
Install realize by running go get github.com/oxequa/realize
 - 
start server by realize start
 
- 
main.go main.go file which bootstrap our project
 - 
database/connectdb MongoDB connection example
 - 
Auth Folder contains login and sign up examples and also router Mount example.
 - 
download Folder contains Downloading files from golang server example
 - 
static Folder contains example for serving static file to browser such as html/css
 - 
upload contains example for uploading files using golang
 - 
Private Creating private routes for APIS, which requires JWT token