run npm i
on root and in ./frontend
folder
In the project directory, you can run:
installs dependencies and starts the react frontend.
works on windows. otherwise install dependencies manually (see above) then run npm start
.
if dependencies are installed u can run this one directly
runs the test cases and watches for changes
Builds the app for production.
The build output will be in ./frontend/builds/production.zip
Builds the app for the specified environment.
specify --zip to zip the build.
specify --keep in case --zip is specified to keep the original folder.
check ./frontend/src/config
for different configuration files. (apiPrefix is very important)
check ./frontend/src/setupProxy.js
for proxy configuration to your backend