I have a nextjs/typescript webapp project that I’m hosting in vercel, with the free tier. To start my project, I do npm run dev in the app folder, which starts the front end. Then, in another terminal, I navigate to the back-end folder and do a npm start. My file structure looks something like this
app
|-back-end
|---back-end stuff
|-front-end stuff
Now the problem with Vercel is that the deployment only does npm run start (which starts the front end), so the back end functions don’t work. How can I also deploy the back end too, or is that not possible with the free tier?