A Progressive Web App built with Next.js and Dexie.js, designed to be hosted on GitHub Pages.
- ✅ Static site generation with Next.js
- ✅ Progressive Web App (PWA) capabilities
- ✅ Offline functionality
- ✅ IndexedDB storage using Dexie.js
- ✅ Authentication and data sync between devices
- ✅ TypeScript for type safety
- ✅ Tailwind CSS for styling
# Install dependencies
npm install
# Start the development server
npm run dev
Visit http://localhost:3000 to see the app in action.
npm run dev
- Start the development servernpm run build
- Build the app for productionnpm run start
- Start the production servernpm run lint
- Lint the codenpm run format
- Format the code with Prettiernpm test
- Run tests
This project uses GitHub Actions for CI/CD:
-
CI Pipeline: Runs on every push and pull request to the
main
branch- Linting
- Type checking
- Unit tests
- Build verification
-
Deployment Pipeline: Runs when changes are merged to the
main
branch- Builds the app
- Deploys to GitHub Pages
name-pwa/
├── .github/ # GitHub Actions workflows
├── .husky/ # Git hooks
├── public/ # Static assets
│ ├── icons/ # PWA icons
│ └── manifest.json # PWA manifest
├── src/
│ ├── app/ # Next.js app directory
│ │ ├── page.tsx # Home page
│ │ └── layout.tsx # Root layout
│ └── lib/ # Utility functions
│ └── db.ts # Dexie.js database
└── ...configuration files