GithubHelp home page GithubHelp logo

prakashpandey / go-webapp-starter Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 27 KB

A web application starter project in golang

Home Page: https://godoc.org/github.com/prakashpandey/go-webapp-starter

License: The Unlicense

Go 97.67% Makefile 2.33%
golang go golang-package golang-application golang-examples golang-library golang-server golang-tools golang-wrapper golang-router

go-webapp-starter's Introduction

go-webapp-starter

A web application starter project in golang

Project Structure

├── Makefile
├── README.md
├── auth
│   └── auth.go
├── db
│   └── mongodb.go
├── index
│   └── index.go
├── main.go
├── routes.go
└── user
    ├── dao.go
    └── user.go

How to run?

  • git clone https://github.com/prakashpandey/go-webapp-starter.git

  • cd go-webapp-starter

  • make build && make run

  • It starts at default address http://localhost:8284

Apis

  • /

  • /user: Methods allowed [POST, DELETE]

Packages

main

Package main is our main package. File main.go starts our server. File route.go defines all routes.

auth

Contains code to authenticate client request.

db

db package must implement all the dao interfaces.

index

A sample package implementing hello world functionality.

user

Package user implement user CRUD operations.

LICENSE

The Unlicense, please visit LICENSE for more information.

go-webapp-starter's People

Contributors

prakashpandey avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.