codinger41 / treklite-backend

Group Trekking API built with Python and GraphQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internship Request πŸ˜ƒ

radiumrasheed opened this issue Β· comments

Hi @codinger41

I see this project as a beautiful one I want to use it as a guide to learning python

I intend to build an API only application but as REST and using MongoDB.

I'm coming from a javascript background and hope you'll be chanced to help me out when I hit a snag.

cheers 🍻

Hey, sure @radiumrasheed! Happy to help πŸ‘

thanks πŸ‘

hello @codinger41
so I've embarked on this project and it's going well.
But something I can't seem to get is the generic error handler. Since it's an API only app. I don't want it to return any HTML error page. I need it to return JSON no matter what.
How do I go about it?