Skip to content

Chia1104/pdf-viewer

Repository files navigation

PDF Viewer

This is a simple PDF viewer for the web which can let users sign the PDF document.

👷 Some features are working on:

  • Rendering PDFs
  • Editing PDFs
  • Saving PDFs
  • Authentication

🌐 Demo

Development

🔨 Generate .env file

Add your DB connection string and Google OAuth credentials.

cp .env.example .env

📦 Install dependencies

Using pnpm and also generate prisma client and husky hooks.

pnpm install

🚀 Start development server

Open http://localhost:3000 with your browser to see the result.

pnpm dev

Folder Structure

  • components - React components.
  • lib - Prisma client.
  • pages - Next.js pages
  • helpers - Some helper functions (api).
  • hooks - React hooks.
  • server - Some server-side functions.
  • styles - Global styles.
  • shared - Shared types.
  • utils - Some utility functions.

Languages & tools

Third-party services

📄 License

Under MIT