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 modedev-server
: Run the server in development modedev-client
: Run the client in development modeserver-build
: Build the server Applicationclient-build
: Build the client Applicationfresh-install
: Fresh installs the client and server