React-Express-Starter
CURRENTLY IN DEVELOPMENT
This maps the react app to your express application Run the server and client both in the same port.
the express server directly serves the build of the react application. Further, you can add your own api in your express application as well
Run the command npx @sarfalam/ts-vite-react-express repoName
Scripts
-
dev
: Runs the client and server in development mode -
dev-server
: Run the server in development mode -
dev-client
: Run the client in development mode -
server-build
: Build the server Application -
client-build
: Build the client Application -
fresh-install
: Fresh installs the client and server