This is a demo app that showcases the Protect.js library.
First start by creating an account on CipherStash.
Start the local Postgres database:
docker compose upInstall the dependencies:
pnpm installApply the schema to the database:
pnpm run db:migrateSet up your CipherStash environment (need to install the stash CLI) and use the TOML configuration file output type:
stash setupStart the Next.js development server from the application directory:
pnpm run devSeed the database with sample data:s
curl http://localhost:3000/api/seedOpen http://localhost:3000 with your browser to see the result.