Skip to content

levvij/vlquery-audit-example

Repository files navigation

Example project for vlquery with audits

  1. To get started, install all dependencies
npm install
  1. Create a test_project database on your postgres server and run the db/main.sql script in it.

  2. Make sure to update the credentials in vlconfig.json and index.ts

  3. Create the database context with

npx vlquery create-context

Whenever you make changes to the database, make sure to run the command again!

  1. Compile your project and run it with
npm run build
npm run run
  1. Try out the web app Open localhost:8080 to try the web app!

  2. View the audit log Take a look at the audit log growing by using

SELECT * FROM audit;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published