Expressjs hosting
Unanswered
censmart posted this in #help-forum
censmartOP
Please who has ever hosted a TypeScript Expressjs application on vercel before. I have done many configurations but nothing is working. Please if you know, please help me
10 Replies
censmartOP
I have done this, it didn't work, can I chat you privately
@censmart I have done this, it didn't work, can I chat you privately
No, Can you send the error which you get
censmartOP
OK in my application, locally I run my TypeScript index.ts which is in src but on production I compiled the TypeScript into api folder with index.js as the entry file. So when I want to deploy to vercel, how do I set up my build command because I have a start script that runs the compiled index.js
@censmart OK in my application, locally I run my TypeScript index.ts which is in src but on production I compiled the TypeScript into api folder with index.js as the entry file. So when I want to deploy to vercel, how do I set up my build command because I have a start script that runs the compiled index.js
You can set compile command as build command in Vercel
censmartOP
I will show you the error once I put on my pc,
But it is not showing up here
@censmart I have a route '/' which displays a html message showing my API is working
Can you share additional details