BookSwap is an open source project that allows users to exchange books. Unlike other similar services BookSwap is focused on multi-book swap, user can add books that they would like to sell and books that they would like to buy, based on that the algorithm will give them the best matches, so that they can exchange multiple books in one single transaction. Books can be added manually or by scanning the ISBN bar code with the phone camera.
- Front end - TypeScript, React Native, Expo
- Back end - TypeScript, Express, MongoDB, Mongoose
- Others - Google Books API, JWT
- Google books API key
- One of the following: ios emulator, android studio or expo go installed on your phone
- Clone the repo
git clone https://github.com/ChrisLetter/BookSwap.git
- Create an .env file in the client folder and one in the server folder, using as template the .env.example file
- Create a MongoDb database
- Install the packages running npm install both in the client and in the server folder
- Run the application:
cd BookSwap/BookSwapServer nodemon
cd BookSwap/BookSwapClient expo start
- Once you run the command "expo start", you can open the app with an emulator or you can scan the QR code with your phone using expo go (you need to download it from the app store or from the play store)