Skip to content

Commit 1dbe137

Browse files
committed
readme updated
1 parent d1e945b commit 1dbe137

File tree

1 file changed

+66
-1
lines changed
  • FLASK PROJECTS/Url Shortening App in Flask

1 file changed

+66
-1
lines changed
Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,66 @@
1-
# mbsa.in
1+
<!--Please do not remove this part-->
2+
![Star Badge](https://img.shields.io/static/v1?label=%F0%9F%8C%9F&message=If%20Useful&style=style=flat&color=BC4E99)
3+
![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)
4+
5+
# Firebase Authentication for Flask Application
6+
7+
## 🛠️ Description
8+
This project enables developers to implement secure user authentication features in their Flask applications with ease using Firebase Authentication which offers various authentication methods, including email/password, social media login (such as Google, Facebook, Twitter), and more. It handles the entire authentication process, including user registration, login, and password reset, taking care of security best practices like password hashing and token-based authentication.
9+
10+
## ⚙️ Languages or Frameworks Used
11+
- Flask, Firebase
12+
- HTML, CSS, Bootstrap
13+
14+
15+
## 🌟 How to run
16+
- ### Install all the requirements
17+
Run `pip install -r requirements.txt` to install all the requirements.
18+
- ### Firebase Setup for Project
19+
20+
- Create a [firebase](https://firebase.google.com/) project, set up a web project and get all the `Project Configurations` from `Project Settings`.
21+
22+
- Navigate to the **Authentication** section in your firebase project and enable the `Email and Password`
23+
authentication.
24+
25+
- The `Project Configurations` will look as follows :-
26+
```bash
27+
"apiKey": YOUR_API_KEY ,
28+
"authDomain": YOUR_AUTH_DOMAIN,
29+
"databaseURL": YOUR_DATABASEURL,
30+
"projectId": YOUR_PROJECT_ID,
31+
"storageBucket": YOUR_STORAGE_BUCKET,
32+
"messagingSenderId": YOUR_MESSAGING_SENDER_ID,
33+
"appId": YOUR_APP_ID,
34+
"measurementId": YOUR_MEASUREMENT_ID
35+
```
36+
- ### Setup Environment for the project
37+
- Now create a `.env` file in your project dreictory and include the following parameters as it is :-
38+
```bash
39+
export FIREBASE_APIKEY=YOUR_API_KEY
40+
export FIREBASE_AUTHDOMAIN=YOUR_AUTH_DOMAIN
41+
export FIREBASE_DATABASEURL=YOUR_DATABASEURL
42+
export FIREBASE_PROJECT_ID=YOUR_PROJECT_ID
43+
export FIREBASE_STORAGE_BUCKET=YOUR_STORAGE_BUCKET
44+
export FIREBASE_MESSAGING_SENDER_ID=YOUR_MESSAGING_SENDER_ID
45+
export FIREBASE_APP_ID=YOUR_APP_ID
46+
export FIREBASE_MEASUREMENT_ID=YOUR_MEASUREMENT_ID
47+
```
48+
49+
- ### Now Just, Run the project
50+
- To the run the project, go to the `bash` terminal of VSCode or any other code editor and run `./start_server.sh`.
51+
- You don't have to care about setting `.env` then yourself then.
52+
53+
54+
## 📺 Demo
55+
![image](https://github.com/MBSA-INFINITY/MBSA-Forms/assets/85332648/2200ef81-57de-4619-ba33-4bed2cf31780)
56+
![image](https://github.com/MBSA-INFINITY/MBSA-Forms/assets/85332648/ad83c91d-e140-4f4b-9b30-81b4903f1011)
57+
58+
## 🤖 Author
59+
60+
Github - [MBSA-INFINITY](https://github.com/MBSA-INFINITY)
61+
LinkedIn - [MBSAIADITYA](https://www.linkedin.com/in/mbsaiaditya/)
62+
Portfolio - [MBSA](https://mbsaiaditya.in/)
63+
64+
65+
66+

0 commit comments

Comments
 (0)