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 up
Install the dependencies:
pnpm install
Apply the schema to the database:
pnpm run db:migrate
Set up your CipherStash environment (need to install the stash
CLI) and use the TOML configuration file output type:
stash setup
Start the Next.js development server from the application directory:
pnpm run dev
Seed the database with sample data:s
curl http://localhost:3000/api/seed
Open http://localhost:3000 with your browser to see the result.