Skip to content

A CRUD Application written in Golang based on MVC Architecture

Notifications You must be signed in to change notification settings

itaditya/mvc-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC CRUD App in Golang

Resources on how to build complete Golang applications are scarce and not easily found. Coming from a Node.js background, I have built this project to demo a CRUD application in which we can add and delete users with complete frontend integrations following best practises of the Web Development world.

⚠️ Disclaimer- I am in the process of learning Golang so I can't guarantee that the Go code is idiomatic. Any suggestions and nitpickings are welcome.

Setup Guide

  1. Install Golang(v 1.11.3 or higher), setup GOPATH and make sure GOPATH/bin is in the PATH env variable.
  2. Install beego cli tool.
  3. Clone this project in a folder outside GOPATH (because we are using Go Modules).
  4. cd into the project.
  5. Install all dependencies with go get -u.
  6. Rename .env.example to .env and provide the necessary information like Database URI etc.
  7. Start server with bee run.

Releases

No releases published

Packages

No packages published