10000 GitHub - workganeshgandhi/ssr-vite-react
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

workganeshgandhi/ssr-vite-react

Repository files navigation

Vite Typescript React SSR Express Docker

A boilerplate with only the bare minimum of dependencies to make the following technologies work together:

Development

Use npm run dev:server or simply npm run dev to start the development server. Since we are using SSR, with the previous scripts you can start working on client and server, but if you prefer only work on the client, then use npm run dev:client.

Client start on port 3000 and server on port 4000.

Production

The following build and start the proyect:

npm run build
npm start

Also you can just run npm run serve, witch combine the previous scripts.

Docker

Configure docker-compose.yml file to suit your needs. Exposed port is 4000, but feel free to change it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0