This repository is for demonstration purposes. NextJS is not required to use Bridg. Bridg is compatible with any JS or TS frontend project.
git clone https://github.com/JoeRoddy/bridg-example-nextjs
and cd into directorynpm install
npm run generate
npm run dev
- Open
/src/pages/index.tsx
to start modifying your query, your prisma client should work exactly as it would on the server - Open
src/pages/api/bridg.ts
to see how Bridg runs queries, and to change your database rules