FastAPI

  1. CRUD API for Employee

    Question 1 of 1

    • Build a simple CRUD API for managing employee data using FastAPI. Data Model: Use Employee table provided in SQL exercise. Endpoints to Implement: 1. POST /employees: Create a new employee. 2. GET /employees: Retrieve a list of all employees. Params: department 3. GET /employees/{employee_id}: Retrieve details of a specific employee. 4. PUT /employees/{employee_id}: Update details of a specific employee. 5. DELETE /employees/{employee_id}: Delete a specific employee.