Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

itaditya/mvc-go

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.

About

A CRUD Application written in Golang based on MVC Architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /