This is a simple PDF viewer for the web which can let users sign the PDF document.
- Rendering PDFs
- Editing PDFs
- Saving PDFs
- Authentication
Add your DB connection string and Google OAuth credentials.
cp .env.example .env
Using pnpm and also generate prisma
client and husky
hooks.
pnpm install
Open http://localhost:3000 with your browser to see the result.
pnpm dev
components
- React components.lib
- Prisma client.pages
- Next.js pageshelpers
- Some helper functions (api).hooks
- React hooks.server
- Some server-side functions.styles
- Global styles.shared
- Shared types.utils
- Some utility functions.
- Next.js
- Prisma - Database ORM
- React
- Tailwind CSS
- TypeScript
- react-pdf
- framer-motion - Animation library
- next-auth - To implement OAuth
- react-signature-canvas
- zod - TypeScript-first schema validation
- Railway - Deployment
- Vercel - Deployment
- Google OAuth - Authentication
Under MIT