Example project for vlquery with audits
- To get started, install all dependencies
npm install
-
Create a
test_project
database on your postgres server and run thedb/main.sql
script in it. -
Make sure to update the credentials in
vlconfig.json
andindex.ts
-
Create the database context with
npx vlquery create-context
Whenever you make changes to the database, make sure to run the command again!
- Compile your project and run it with
npm run build
npm run run
-
Try out the web app Open localhost:8080 to try the web app!
-
View the audit log Take a look at the audit log growing by using
SELECT * FROM audit;