- this is a basic http server able to easy test frontend and backend code.
- default use bootstrap5 and vue3 lib, you can change to whatever you want, please change via
views/header.html
andviews/footer.html
- support a basic api implementation
cp views/empty.html views/newpage.html
- add content inside
views/newpage.html
- add css inside
static/css/newpage.css
- add js inside
static/js/newpage.js
- add implementation to api.go, check example implemente
ping
, you can check api viacurl 'localhost:8080/api?action=ping'
Dockerfile
current use vendor, so rungo mod vendor
after clone the projectdocker-compose up -d