The frontend is built using Next.js and styled with Tailwind CSS. It provides an interactive interface for users to create and participate in polls. Authentication is integrated using Passkeys.
- Passkey registration and authentication.
- User-friendly poll creation and participation.
- Real-time poll results display.
- Environment Variables:
NEXT_PUBLIC_API_URL
: Backend API base URL.
-
Clone the repository:
git clone https://github.com/Azeem-0/polling_application_frontend.git cd polling_application_frontend
-
Install dependencies
npm install
-
Set up environment variables:
NEXT_PUBLIC_API_URL=<your-backend-api-url>
-
Run the server:
npm run dev
- Access the application:
- Once the server is running, you can access the frontend application in your browser at http://localhost:3000.