Back to articles
Capstone Day 3: Deploying the To-Do App API to Render

Capstone Day 3: Deploying the To-Do App API to Render

via Dev.to WebdevFiyinfoluwa Ojo

The To-Do App is Live! After 2 days of building and testing, the To-Do App API is now deployed and accessible to the entire world. Live URL: https://gdgoc-bowen-todo.onrender.com What's Deployed A fully functional Task Management API with: JWT Authentication (signup & login) Full CRUD for tasks Task ownership — users only see their own tasks Input validation with Pydantic 10 automated tests all passing API Endpoints Method Endpoint Auth GET / No POST /auth/signup No POST /auth/login No GET /tasks Yes POST /tasks Yes PUT /tasks/:id Yes DELETE /tasks/:id Yes Deployment Setup 3 things needed for Render: requirements.txt -> all dependencies .python-version -> pin to 3.11.0 Start command -> uvicorn main:app --host 0.0.0.0 --port $PORT Live Proof Lessons Learned Deployment is the moment your code stops being yours and starts being useful to others. Every step from Day 1 to Day 28 led here. Day 28 done. 2 more to go. 🔥 GDGoCBowen30dayChallenge

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
7 views

Related Articles