Skip to content

saadmk11/django-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Simple Todo API with Firebase Firestore Database

This is simple todo API created using Django and Django Rest Framework. This project showcases the implementation of Firebase Firestore Database with Django.

Prerequisites

Be sure you have the following installed on your development machine:

  • Python >= 3.8
  • Git
  • pip
  • Virtualenv / virtualenvwrapper

Requirements

  • Django==3.1.3
  • firebase-admin==4.4.0
  • djangorestframework==3.12.2

Project Installation

To setup a local development environment:

Create a virtual environment in which to install Python pip packages. With virtualenv,

virtualenv venv            # create a virtualenv
source venv/bin/activate   # activate the Python virtualenv 

or with virtualenvwrapper,

mkvirtualenv {{project_name}}   # create and activate environment
workon {{project_name}}   # reactivate existing environment

Clone GitHub Project,

git clone git@github.com:saadmk11/django-todo.git

cd django-todo

Create .env file in the django-todo directory and add the firebase secret (.json) file path to it. Example:

FIREBASE_ADMIN_CERT=firebase-secret.json

Install development dependencies,

pip install -r requirements.txt

Run the web application locally,

python manage.py runserver # 127.0.0.1:8000

About

Django Todo List API with Firebase Firestore Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages