Closed cb7chaitanya closed 4 months ago
U needs to change the code a bit that as we are only working with js for now and in SRC u have used ts and in root folder of backend we have index.js that is actually listening to ports and in SRC u have server.ts and that is also doing app.listen
And I have one doubt u are using import from so , I may be wrong but just asking that u used "type":module in the package.json or it is just getting used from root package json
I didn't initialise the project in TS, it was already setup that way when i took an updated pull, so just went along with it
Setup base routing structure for the backend Also initiated a singleton prisma client design pattern, to avoid creating multiple connection instances to the database across every model