Giter Club home page Giter Club logo

barandev / firebase-authentication-template Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 14 KB

A template repository for implementing Firebase Authentication with Flask and JavaScript. This template provides a basic setup for integrating Firebase Authentication into web applications using Flask as the backend framework. It includes functionalities for user signup, signin, signout, and session management.

License: MIT License

Python 12.76% JavaScript 31.00% HTML 56.24%
firebase firebase-auth flask javascript sessionmanagement template user-management userauthentication webdevelopment

firebase-authentication-template's Introduction

Firebase Authentication Template

This template repository provides a basic setup for implementing Firebase Authentication with Flask and JavaScript.

Usage

  1. Clone the Repository: Clone this repository to your local machine.

  2. Setup Firebase Project:

    • Create a Firebase project on the Firebase console.
    • Enable Email/Password authentication in the Firebase console.
    • Retrieve your Firebase config details.
    • Set up your .env file with Firebase config details:
      FIREBASE_API_KEY=your_api_key
      FIREBASE_AUTH_DOMAIN=your_auth_domain
      FIREBASE_DATABASE_URL=your_database_url
      FIREBASE_PROJECT_ID=your_project_id
      FIREBASE_STORAGE_BUCKET=your_storage_bucket
      FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
      FIREBASE_APP_ID=your_app_id
      FIREBASE_MEASUREMENT_ID=your_measurement_id
      
  3. Install Dependencies: Run pip install -r requirements.txt to install Python dependencies.

  4. Run the Flask App: Execute python main.py to start the Flask application.

  5. Access the Application: Navigate to http://localhost:8080 in your web browser to access the application.

Customization

  • HTML Templates: Customize HTML templates in the templates directory according to your application requirements.
  • JavaScript Logic: Modify JavaScript files (signup.js, signin.js, signout.js, signedin.js) to add additional functionality or customize existing behavior.
  • Firebase Features: Extend the functionality by integrating other Firebase features like Firestore, Cloud Messaging, etc.

Repository Owner

GitHub language count GitHub repo size License GitHub issues GitHub pull requests GitHub stars GitHub forks

Created With Lazy.AI

firebase-authentication-template's People

Contributors

barandev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.