Overview
This is a simple React application that allows you to manage a collection of bots. You can view a collection of all available bots, add them to your bot army, and remove them from your army. Additionally, you can delete bots from the collection entirely.
- Prerequisites
- Getting Started
- Application Structure
- How to Use
- Contributing
- License
Before you can run this application, you need to have the following software installed on your system:
Node.js npm (Node Package Manager)
To get started with the Bot Management System, follow these steps:
- Clone the repository to your local machine. shell: git clone
- Navigate to the project folder. shell: cd bot-battlr-code-challenge
- Install the project dependencies. shell: npm install
- Start the development server. shell: npm start
- Open your web browser and go to http://localhost:5173/ to access the application. The base URL for your backend is: http://localhost:3000
The application is structured as follows:
src/components - Contains React components used to build the application. src/App.js - The main application component that brings everything together. src/index.js - Entry point of the application.
- REACT JAVASCRIPT
- JSON SERVER
- CSS
View Bot Collection: You can view a collection of all available bots on the main page. Add Bots to Your Bot Army: Click on a bot's card in the collection to add it to your bot army. You can only add each bot once to your army. View Your Bot Army: Click the "Bot Army" button to view the bots in your army. Remove Bots from Your Bot Army: In your bot army, you can remove bots from your army. Delete Bots: You can delete bots from the collection entirely.
Name: Evans Kurgat Email: evancherry254@gmail.com
If you'd like to contribute to this project, please follow these steps:
- Fork the project on GitHub.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request on the original repository.
- Please make sure your code follows best practices and includes appropriate documentation.