Skip to content

amahi2001/fastapi-datastore-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for FastAPI with GCP Datastore Project

Project Overview

This GitHub project demonstrates the integration of FastAPI with Google Cloud Platform's (GCP) Datastore. It provides a simple backend application for task management, allowing operations such as adding, retrieving, and deleting tasks.

Features

  • FastAPI Backend: Leverages FastAPI for building efficient and scalable APIs.
  • GCP Datastore Integration: Utilizes GCP Datastore for data storage and retrieval.
  • Task Management: Supports operations like listing, adding, and deleting tasks.
  • CORS Middleware: Ensures compatibility with front-end running on different domains or ports.

Getting Started

Prerequisites

  • Python 3.11
  • Pyenv and Virtualenv
  • GCP account and project setup
  • Gmake (optional)

Installation

  1. Clone the Repository
    git clone [repository-link]
    cd [repository-name]
  2. Run Locally
    make run
    or
    uvicorn main:app --reload
  3. Deploy to GCP
    make deploy
    or
    gcloud app deploy

About

Demo's how to make fastapi endpoints for GCP Datastore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published