A modern, responsive todo application built with Next.js 16, TypeScript, and Tailwind CSS.
npm install
Create a .env.local file in the root of the project with the following:
NEXT_PUBLIC_API_BASE_URL=https://your-backend-api-url.com
npm run dev
Open http://localhost:3001 with your browser to see the application.
npm run dev - Starts the development servernpm run build - Builds the application for productionnpm run start - Starts the production servernpm run lint - Runs ESLintThis application can be deployed on Vercel or GitHub Pages. Choose the option that best fits your needs.
Or manually:
npm i -g vercel
vercel --prod
To deploy to GitHub Pages:
npm run build-gh-pages
docs folder (GitHub Pages default):mv out docs
git add docs/
git commit -m "Deploy frontend to GitHub Pages"
git push origin root
Alternatively, you can run the automated deployment script:
./deploy-to-gh-pages.sh
NEXT_PUBLIC_API_BASE_URL - The URL of your backend API (for your deployment: https://qadirk-todo-app-website.hf.space)src/
├── app/ # Next.js App Router pages
├── components/ # Reusable React components
├── context/ # React context providers
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and services
├── services/ # API service implementations
├── styles/ # Global styles
└── types/ # TypeScript type definitions
The application integrates with a backend API for user authentication and task management. The API endpoints are configured via the NEXT_PUBLIC_API_BASE_URL environment variable.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License.