- upto 1 hour 7 minute done
- basics of fast api
- in fastapi docs routes of node.js = path operations
- get and post method + postman
- 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
- Delete and update operation
- .put() we need to send other keyvalue pair as well or output will be only what we send
- 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.
- 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.
- Learnt SQL in postgres and GUI of postgres
- Finished Raw SQL + python
- ORM Completed SQLAlchemy
- Pydantic model + response Model completed
- User Model and register
- Hashing password - bcrypt and passlib pip