Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Wikedhart18/nextjs-ai-chatbot/llms.txt

Use this file to discover all available pages before exploring further.

The chatbot requires an account to use. Authentication is handled entirely within the app — there are no third-party login providers (such as Google or GitHub).

Creating an account

1

Open the register page

Navigate to /register in your browser. If you are already signed in, you will be redirected to the home page automatically.
2

Enter your details

Provide an email address and a password, then submit the form.
3

Start chatting

After a successful registration you are signed in immediately and redirected to the home page.

Signing in

1

Open the login page

Navigate to /login. If you are already signed in, you will be redirected to the home page.
2

Enter your credentials

Provide the email address and password you registered with, then submit the form.
3

Get started

On success you are redirected to the home page where you can start or continue a conversation.
If you enter an incorrect password, the form will reject the attempt. There is no account lockout after failed attempts, but your password is verified securely using bcrypt.

Signing out

Select the sign-out option from the user menu. You will be redirected to the login page and your session will be invalidated immediately.

Password requirements

There are no enforced complexity rules (minimum length, special characters, etc.) beyond what the registration form validates on the client. Choose a strong, unique password — the app stores passwords as bcrypt hashes and never stores them in plain text.

When your session expires

Sessions are maintained with a secure token. If your session expires or becomes invalid while you are using the app, any attempt to access a protected page will redirect you to /login. Your conversation history is saved and will be available again after you sign back in.
Keep your browser tab open to extend your session without interruption. Closing and reopening the browser may require you to sign in again depending on your browser settings.

Build docs developers (and LLMs) love