This is the Bot Battlr app, a React application that displays a list of bots.
- Description
- Installation requirement
- Technology used
- Licence
- Authors info
The Bot-Battlr mini web app fetches data from an API and dynamically manipulates the DOM to display a list of bots. It contains a bot collection and a bot army where a user can add or delete a bot to the bot army. It also contains a botSpecs with react-icons and a user can choose to enlist the bot to botArmy or to go back to bots collections.
- Navigate to the code challenge directory using
cd Bank-of-Flatiron
- Using vite
- Run the command
npm create vite@latest
- Type y to proceed
- Select a project name
- Select React as your framework.
- Select Javascript as your language/variant.
- Navigate to the project directory by running
cd project name
- Run
npm install
to install all the third party libraries. - Open the project in vs code by running the command
code .
- Open terminal in vs code and run
npm run dev
to launch a web server.
- Install the json-server using the command
npm install -g json-server
- To get backend started run this command
json-server --watch db.json
- Test your server by visting this route in the browser
https://api.npoint.io/f00577dbaab0488ccfcd/bots/
- Html
- CSS
- React
- Javascript
MIT license
[Valerie Kandagor]