DEV Community


Posted on

Help wanted, Setting API tests for my project


I developed a listing website in NodeJS and built the API using Fastify.

The API is rather simple but the app in whole is a big complex (and maybe my code is not so clean).

I also never wrote tests for my code, so I am looking for someone to help me start with tests. I think it is not the time to write all tests per use cases as I feel that would be a lot ! but at least set tests that hit the Rest API with different parameters (GET and POST) and conclude results.

If you want to help me in this, I will be very thankful ! in the same hand, you could learn how I built it from scratch and learn few things (I didn't follow the conventional web-app structures...).

Let me know if you can help, the app is open source

Thanks a lot !

Discussion (0)