Skip to content

sandy85625/auth-template

Repository files navigation

Project Information

Description

This project is a basic boilerplate code for implementing authentication using Next.js 11 and Firebase 9.0.0. It provides a starting point for building web applications with user registration, login, and email verification functionality.

Technologies Used

  • Next.js 11.1.0
  • Firebase 9.0.0
  • Tailwind CSS
  • TypeScript

Key Features

  • User registration with email and password
  • User login with email and password
  • Password reset functionality with email link
  • Email verification for registered users
  • Integration with Firebase Authentication service
  • Secure storage of user credentials and tokens

Setup Instructions

  1. Clone the repository: git clone <repository-url>
  2. Install dependencies: npm install
  3. Set up your Firebase project and obtain the Firebase configuration
  4. Create a firebase.config.js file in the src/firebase directory and export the Firebase configuration
  5. Run the application: npm run dev
  6. Access the application in your browser at http://localhost:3000

Usage

  1. Register a new user with a valid email and password
  2. Verify the email address by clicking the verification link sent to your email
  3. Log in with the registered email and password
  4. Explore the authenticated pages and features
  5. Reset the password if needed by clicking on the "Forgot password?" link

Credits

This project is based on the Next.js framework and Firebase authentication. It was created by [Your Name] as a boilerplate code to simplify the implementation of user authentication in Next.js applications.

License

This project is licensed under the MIT License.

About

Next Js 11, Firebase 9.0.0, Tailwind CSS and Typescript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages