Skip to content

A boilerplate project for setting up Firebase Authentication in an Angular Application. This repo provides a ready-to-use authentication system with Firebase, including user sign-up, login, logout and password reset functionalities.

Notifications You must be signed in to change notification settings

nickpolizogopoulos/angular-firebase-auth-boilerplate

Repository files navigation

Angular & Firebase Authentication Boilerplate

This project was generated using Angular CLI version 19.1.6.
A boilerplate project for setting up Firebase Authentication in an Angular Application.
This repo provides a ready-to-use authentication system with Firebase, including user sign-up, login, logout and password reset functionalities.

Features

  1. Zoneless Angular v19 with Standalone Components
  2. Firebase Authentication (Email / Password) that uses the JWT pattern
  3. Secure Route Guard for Authenticated Users

Getting Started

1. Clone the Repository

git clone /~https://github.com/nickpolizogopoulos/angular-firebase-auth-boilerplate.git my-angular-firebase-auth-project
cd my-angular-firebase-auth-project

2. Install Dependencies

npm install

3. Setup Firebase

  1. Go to Firebase Console
  2. Create a new project & enable Authentication (Email / Password)
  3. Get your Firebase Web API Key from Project SettingsGeneral
  4. Add it in your "firebaseApiKey" in your environment.
  5. Set your localStorage Key property value in the Auth Service.

4. Run the Project

npm start

OR

ng serve --open

License

This project is open-source under the MIT License.

About

A boilerplate project for setting up Firebase Authentication in an Angular Application. This repo provides a ready-to-use authentication system with Firebase, including user sign-up, login, logout and password reset functionalities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published