Skip to content

codeforbielefeld/teuto-moisture-map-react

Repository files navigation

Teuto Moisture Map - Frontend

Available Scripts

Before running/building the app either create a .env file or set the environment variable VITE_BACKEND_URL.

In the project directory, you can run:

npm run start

Runs the app in the development mode.
Should automatically open http://localhost:5173 in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder using the .env.production configuration\

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run serve

Builds the app (using the .env.production configuration) and serves the bundle.
Open http://localhost:3000 to view it in the browser.