This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This is a web application for managing a collection of bots and organizing them into an army. It allows users to view bot details, add bots to their army, release bots from the army, delete bots, and sort bots based on various attributes.
- View a collection of bots
- View detailed information about each bot
- Add bots to your army
- Release bots from your army
- Delete bots
- Sort bots by health, damage, or armor
- React: A JavaScript library for building user interfaces
- React Router: A routing library for React applications
- CSS: Cascading Style Sheets for styling the application
- JSON Server: A fake REST API for simulating a backend server
- Clone the repository:
git clone git@github.com:JBcollo1/Bot-Battlr.git- Install the dependencies:
npm install- Start the development server:
npm run dev- Run the server
json-server --watch db.json-Navigate to the homepage to view the collection of bots. -Click on a bot card to view detailed information about that bot. -Use the "Add To Army" button to add a bot to your army. -Use the "Release" button on the army page to release a bot from your army. -Use the "X" button on the army page to delete a bot. -Use the sort buttons to sort the bots by health, damage, or armor.
Copyright © 2024 Jorbat Kamau @@ -44,4 +61,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.