abdalrahman-ahmed / django_firebase_models

Simple django project with firebase plus models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django_firebase_models

Simple django project with firebase plus models.

Installation

Clone the repository

git clone git@github.com:abdalrahman-ahmed/django_firebase_models.git

Create a virtual environment

python -m venv venv

Activate the virtual environment

Windows

venv\Scripts\activate

Linux/Mac

source venv/bin/activate
Note: Your terminal should look like this
(venv) $

Install requirements

Note: Make sure you are in the project directory
python -m pip install -r requirements.txt

Create a firebase project

Create a new project

Go to project settings

Go to service accounts

Click on generate new private key

Rename the downloaded file to firebase_config.json

Move the file to the project directory

Run the server

python manage.py runserver

Open the browser and Go to (http://127.0.0.1:8000/)

About

Simple django project with firebase plus models.

License:GNU General Public License v3.0


Languages

Language:Python 97.2%Language:HTML 2.8%