Skip to content

Day 5 FastAPI Mini CRUD Project with testing - #152

Open
tejachennu41 wants to merge 1 commit into
mainfrom
saiteja-day5
Open

Day 5 FastAPI Mini CRUD Project with testing#152
tejachennu41 wants to merge 1 commit into
mainfrom
saiteja-day5

Conversation

@tejachennu41

Copy link
Copy Markdown
Contributor

🚀 Day 5 FastAPI Mini CRUD Project

In this update, I built a complete CRUD (Create, Read, Update, Delete) API using FastAPI and tested all endpoints successfully.

Features Implemented:

  • POST /users → Create a new user
  • GET /users → Retrieve all users
  • GET /user → Retrieve a single user using query parameter
  • PUT /user → Update user details
  • DELETE /user → Delete a user

Testing & Output:

  • Successfully accessed Swagger UI (/docs)
  • Verified API responses with status code 200 OK
  • Tested POST and DELETE APIs (confirmed from server logs)
  • Observed request handling in server logs (Uvicorn)

Tech Stack:

  • FastAPI
  • Python
  • Pydantic
  • Uvicorn

Outcome:

  • Built a working in-memory user management system
  • Understood CRUD operations in REST APIs
  • Learned API testing using Swagger/Postman
  • Gained hands-on experience with backend development workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant