Skip to content

cipherstash/protectjs-nextjs-drizzle

Repository files navigation

Protect.js demo

This is a demo app that showcases the Protect.js library.

Getting started

First start by creating an account on CipherStash.

Setup

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published