DEV Community

Cover image for Testing and Deploying your Blog API
Awosise Oluwaseun
Awosise Oluwaseun

Posted on

1

Testing and Deploying your Blog API

Welcome to the last part of the series where I'd be talking about testing the routes and deploying.

Testing

In order to test this api, I created an api documentation with swaggerUI. It allows you to supply values based on the schema defined and also returns the appropriate response, error messages and status codes.

Deployment

The deployment was done on cyclic.sh. It is as simple as signing up with your github account then linking the repository containing your project then you finally set your environmental variables.
Voila! Your project is already deployed and ready for use.

Conclusion

Kudos to you for reaching the last article of the series. I believe you have been able to pick one or two concepts to apply to your next project. Kindly do well to reach me on twitter if there's any part you would like me to write extensively on.
I also owe all of this to leading tech institution in Africa, AltSchool Africa.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay