- postgresql-client
- make
- gleam
- brew
- watchexec
sudo apt-get install postgresql-client make
brew install gleam
brew install watchexecLaunch the postgresql database:
make dbup
Launch the server:
make run
Watch what's happening in the database:
make psql
navigate to http://localhost/8000
Read the article on Gleaming: https://gleaming.dev/articles/building-your-first-gleam-web-app
you'll notice that there is a strong separation between the database schemas /app/schemas and the models /app/models.
this is on purpose. in short, the models are a higher level of abstraction than the schemas. the schemas are