A sample web application project that can be adopted as a base https://code.ivysaur.me/webscaffold
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mappu 8b3db331c6 initial commit 9 months ago
models initial commit 9 months ago
schema initial commit 9 months ago
webapp initial commit 9 months ago
wwwroot initial commit 9 months ago
.dockerignore initial commit 9 months ago
.editorconfig initial commit 9 months ago
.gitignore initial commit 9 months ago
Application.go initial commit 9 months ago
Dockerfile initial commit 9 months ago
LICENSE initial commit 9 months ago
Makefile initial commit 9 months ago
README.md initial commit 9 months ago
api_login.go initial commit 9 months ago
bg_cleanupSessions.go initial commit 9 months ago
db.go initial commit 9 months ago
go.mod initial commit 9 months ago
go.sum initial commit 9 months ago
hash.go initial commit 9 months ago
main.go initial commit 9 months ago
neterror.go initial commit 9 months ago
package-lock.json initial commit 9 months ago
package.json initial commit 9 months ago
rollup.config.js initial commit 9 months ago
sqlboiler.json initial commit 9 months ago
tools.go initial commit 9 months ago
tsconfig.json initial commit 9 months ago

README.md

webscaffold

webscaffold is a sample web application project that can be adopted as a base.

This project is made available to you under the terms of the 0-clause BSD license i.e. you may take this code without attribution.

Development

  • Install node.js + Go dependencies: make deps (gitignored)
  • Rebuild SQL model layer: make models (should commit)
  • Live watch reload: npm run watch (gitignored)
  • Compile backend: go build
  • Run development instance: ./webscaffold
    • This will use the live wwwroot directory, that is managed by the live watch reload
  • Run production instance: dokku apps:create webscaffold

Features

  • Go backend
  • SPA frontend
  • Docker for production
  • Makefile for all scripts