React application with dual purpose:
- Example solution for Project 2, which is to build a frontend for a provided backend API
- Provided frontend for Project 4, which is to build the backend API of the application
Clone the repository anywhere on your computer:
git clone
Install all of the dependencies:
npm i
Optionally, change the API URL to the one you want to use, for example if you are hosting the API locally:
// the below is line 8 of src/Components/App.js
const apiBaseUrl = 'https://book-swap-api.dev.io-academy.uk/api'
Run the app:
npm start