Skip to content

A simple backend application built with FastAPI and PostgreSQL that performs CRUD operations for a to-do list.

Notifications You must be signed in to change notification settings

Nikethanrv/FastAPIWithPostGreSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI To-Do App

This is a simple CRUD API built with FastAPI, SQLAlchemy, and PostgreSQL.

Features

  • Create, Read, Update, and Delete to-do items
  • PostgreSQL for persistent storage
  • Auto-generated docs at /docs

Setup Instructions

  1. Clone the repo

  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file:

    DATABASE_URL=postgresql://postgres:YOURPWD@localhost:PORTNO/todolistdb
    
  4. Run the server:

    uvicorn main:app --reload

License

MIT

About

A simple backend application built with FastAPI and PostgreSQL that performs CRUD operations for a to-do list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages