Code Interview by Edgeworks Solutions Pte Ltd
- Ability to create, read, update, delete and list products.
- create
- read
- update
- delete
- list products
- You can follow the product schema from https://schema.org/Product
- Store the data on an SQL compatible database(your choice) (postgreSQL)
- Install PostgreSQL and pyadmin4
- Create Database Table
- Apply RESTful API best practices
- Install Fast API
- Connect Database
- Ensure validations are in place (Pydantic)
- Follow coding standards
- Having a well documented swagger is a plus
- Having unit/integration tests using pytest is a big plus
- Having unit/integration tests run on Github actions(CI) is the biggest plus
How to Run
$ uvicorn src.main:app --reload
###End