This project was bootstrapped with Vite. Basically, its a really basic UI wiki view for all the data related to Plants Vs Zombies PC game. This is still an exploratory WIP, so it may get some data updates soon. This UI consumes a python API (see pvz-svc repo) who currently is not alive, since I am checking to deploy the backend service either in Railway or Deta. But UI is alive through a flag that enable mocking using MSW. It should be up, but if is not the case, feel free to ping.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Generate all the models from swagger docs available in the backend services, it can be upgraded by calling the command again.
To build the docker image, inside project dir:
docker build -t gsdd-pvz-ui .
Then run using something like:
docker run -p 5173:5173 -e VITE_API_URL=http://api.example.com -e VITE_APP_VERSION=0.0.1 -e VITE_ENABLE_MOCKS=true gsdd-pvz-ui
- Author - gal16v8d