git clone https://github.com/codenihar/love-nextjs.git
cd love-nextjs
Make sure to install the required packages.
Using npm:
npm install
Start the Next.js development server to view the app.
Using npm:
npm run dev
The application will be running at http://localhost:3000
.
Open http://localhost:3000 in your browser to see the login page.
- Enter the correct password (
mySecretPassword
) to see the love letter. - Incorrect password attempts will display an error message.