Git Product home page Git Product logo

learn_fastapi's Introduction

Day 1 of FastAPI

  • upto 1 hour 7 minute done
  • basics of fast api
  • in fastapi docs routes of node.js = path operations
  • get and post method + postman

Day 2 of FastAPI

  • BaseModel, Optional field
  • Creating my_posts array like a fake db
  • Learn about REST pattern
  • model.dump() replaced .dict() to convert pydantic model to py dictionary
  • using random number using randrange(initial,max)
  • Fast API automatically searialize array to json
  • path paramter and response status
  • HttpException

Day 3 of FastAPI

  • Delete and update operation
  • .put() we need to send other keyvalue pair as well or output will be only what we send

Postgres

  • By default every Postgres installation comes with one database already created called "postgres"
  • This is important because Postgres requires you to specify the name of a database to make a connection. So there needs to always be one database.

After Installation

  • A table represents a subject or event in an application.
  • A UNIQUE constraint can be applied to any column to make sure every record has a unique value for that column.
  • By default NULL constraint is applied as any column can be blank.
  • NOT NULL constraint can be added to the column to ensure that the column is never left blank.

Day 4 of FastAPI

  • Learnt SQL in postgres and GUI of postgres

Day 5 of FastAPI

  • Finished Raw SQL + python

Day 6 of FastAPI

  • ORM Completed SQLAlchemy
  • Pydantic model + response Model completed
  • User Model and register
  • Hashing password - bcrypt and passlib pip

learn_fastapi's People

Contributors

saljeshh avatar

Watchers

 avatar

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.