So I'm trying to connect my React App to an express route - so far for my server, I have
const express = require('express');
const app = express();
const port = 5000;
app.use('/test', require('./client/src/App'));
app.listen(port, () => console.log(`Server started on port ${port}`));
I'd like to be able to go to localhost:5000/test and have my create-react-app (./client/src/App) show up.
I have my server running on 5000 and React running on 3000.
I realize React has its own routing, but I was wondering if it was possible this way.