aabc01383efc4311194a132dfe6c7ccbbbac5855
Posti DM
Prototipo di applicazione web per prenotare posti in dipartimento.
-
FrontEnd: Vite + VanillaJS (?)
-
BackEnd: Golang + go-chi + godotent + sqlite3 (?)
Usage
The first time you want to build the project you should run first
$ make setup
Then to build the client and the server just run
$ make build
Running: In Development
You need to start two concurrent processes as follows
#
# Firstly start the backend
#
$ cd server
$ go run .
# or also to reload the server on changes with "entr"
$ find -name '*.go' | entr -r -s 'go run .'
#
# Then in another shell start ViteJS to live-reload the frontend
#
$ cd client
$ npm run dev
Running: In Production
Just make build at the root of the project and then run the following (ehm forse alcuni path sono relativi rispetto alla directory corrent quindi per ora è meglio fare cd dentro dist/)
$ cd dist/
$ ./posti-dm
Languages
Go
42.6%
JavaScript
21.5%
SCSS
19%
HTML
15.4%
Makefile
1.3%
Other
0.2%
