examples/4-react-app/server.js
async function start() {
  const mainRoute = server.addReactRoute(
    "",
    path.resolve(process.cwd(), "app/Routes.js")
  );

  await server.start(); //start server
  console.log("started");
}
async function start() {
  const mainRoute = server.addReactRoute(
    "",
    path.resolve(process.cwd(), "app/Routes.js")
  );

  await server.start(); //start server
  console.log("started");
}
async function start ( ) { const mainRoute = server . addReactRoute ( "" , path . resolve ( process . cwd ( ) , "app/Routes.js" ) ) ; await server . start ( ) ; //start server console . log ( "started" ) ; }
create a new instance
create a new instance