a year ago
How would I deploy my github project, where I have two folders.
One for my go backend
and the other my vite frontend.
Is there a way I can upload both projects at the same time, when I import my Github project?
17 Replies
a year ago
you can can just set the deployment source as the folder you want to deploy, e.g:[https://github.com/peter/crack_overflow/backend](https://github.com/peter/crack_overflow/backend)
a year ago
Railway has a neat tutorial about monorepos here that you might find helpful:
a year ago
here is a full end to end setup tutorial -
a year ago
Thanks brody!
a year ago
Awesome, glad you found the solution
a year ago
and vite was mentioned, fragly, you know the drill
a year ago
oh true
a year ago
for the optimal frontend experience on Railway, you'd want to serve your app through a reverse proxy like Caddy or NGinx
Brody has a useful template for that here:
generally you can just copy and paste the nixpacks.toml and Caddyfile into your frontend's root, it'll take care of all the deployment configurations for you to serve your app optimally
a year ago
neat, goodluck!
a year ago
Awesome!!!
a year ago
!s
Status changed to Solved dev • about 1 year ago
