I have a front end application consuming an api rails, but I'm new to this idea of separating the front end from the back end, my api runs on localhost: 3000, and my front is simply a folder that I go there manually and open my html page, I wanted to know how I run my front-end server from the ex: localhost: 8000 / front, if it has some way to throw my front inside the rails server on port 8080, or if I run on npm, I I do not want to use xammp or wamp, so when I do deploy I do not want to have one server for api and another for the front, I want both on the same server but on different projects.