dev.to Post:
I’ve just wrapped up building a simple public API for HNG Stage 0, and wanted to share a bit about the process!
Even though I’ve worked with APIs before and deployed apps on Render multiple times, this was still a solid exercise in polishing up those skills. The task was straightforward but required attention to detail, especially around CORS configuration, which I had to tweak a bit. But, that's the fun of development, right?
The API serves the following:
My email
The current UTC datetime in ISO format
A GitHub URL of the repository
I used FastAPI and Python to build the backend. Render took care of the deployment, and it was a breeze to get everything up and running.
💡 Key lessons:
Don't underestimate how simple things (like configuring CORS) can trip you up.
The deployment process isn’t always as smooth as it seems, but the satisfaction of seeing everything work is worth it.
Check out my API here: https://hng-stage0-task-ewk2.onrender.com/
If you’re someone who's been through a similar process, you know how fulfilling it can be to get everything live. 🙌
Top comments (0)