Giter Site home page Giter Site logo

apibeez's Introduction

apibeez

Mock API Project

create virtual environment > activate it

install requirements.txt

setup db - postgresql

for starting projects from scratch only - setup alembic

alembic init alembic

for new fastapi setup

create src/main.py start app in main.py

run server

uvicorn src.main:app --reload

apibeez's People

Contributors

vrmadeepak avatar

Watchers

 avatar

apibeez's Issues

Feature Request: APIBeez Database setup Postgres

#2

Objective:

Configure the APIBeez project to use a PostgreSQL database for data persistence.

Tasks:

  1. Database Schema:
    Define the database schema for storing essential data related to the APIBeez project. Identify the necessary tables, relationships, and fields.

  2. Database Configuration:
    Update the project configuration to include the PostgreSQL database connection details. This may involve modifying the database URL, username, password, and other relevant settings.

  3. Database Initialization Script:
    Develop a script or migration to initialize the PostgreSQL database with the required tables and initial data.

  4. ORM Integration:
    Integrate an Object-Relational Mapping (ORM) library (e.g., SQLAlchemy for Python) to interact with the PostgreSQL database. Define models that represent the database schema.

  5. Connection Pooling:
    Implement connection pooling to efficiently manage database connections and optimize performance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.