webskeleton

command module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 1 Imported by: 0

README

go-webskeleton

skeleton for go web projects

This skeleton project contains a basic go web application, using sqlite3 as database and labstack/echo for writing controller and middleware stuff. It also contains a login form and a simple menu. You can login with "admin/xyz".


Installation

  1. go get github.com/devgek/webskeleton

Installation

  1. go get github.com/devgek/webskeleton
  2. cd {your-go-modules}
  3. mkdir {project}
  4. `webskeleton bootstrap --type={type} --repository={repository} --user={user} --project={project} --title={projecttitle}
  5. cd {project}
  6. go run main.go serve --config=_test/config-serve.yaml

Documentation

Overview

Copyright © 2020 Gerald Kahrer <gerald.kahrer@kahrersoftware.at>

Directories

Path Synopsis
Type EntityFactoryImpl must exist even before first generating models, because they are used in appenv.go and apienv.go
Type EntityFactoryImpl must exist even before first generating models, because they are used in appenv.go and apienv.go
entity
dto
helper
generated
Package generated_models contains all entities and must also have a struct which implements entitymodel.EntityFactory.
Package generated_models contains all entities and must also have a struct which implements entitymodel.EntityFactory.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
web
api
app
app/env
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL