A platform where you can buy/sell used or unused books
View ShareBook · Report Bug · Request Feature
✨ Loved the project? Give this project a star to show your support. ✨
- Register a user
- verify email address
- resend verification mail
- forget password
- social login
- Autocomplete search using algolia
- image upload system using cloudinary
- sort books by different criterias
- image upload system using cloudinary
- infinity scroll
- Fetch, cache and update data without touching any "global state".
- chat with seller
This project is deployed at https://share-book-client.herokuapp.com
Guide for local deployment -
- Clone the repository
git clone git@github.com:ashiqdev/bookshare.git
- Change the working directory
cd bookshare
- Install dependencies
yarn
- Update .env file
cp example.env .env
- Install maildev for testing mail related services
npm i -g maildev
- Run maildev in one of the instance of your terminal
maildev --incoming-user=test --incoming-pass=test
- Run docker (install docker and docker-compose if you don't have those!)
npm i -g dotenv-cli
ENV_FILE=.env docker-compose -f docker-compose-dev.yml up --build
- Run backend server
dotenv -e .env yarn build:watch
dotenv -e .env yarn dev:server
- Run frontend
dotenv -e .env yarn dev:client
-
Open project at http://localhost:1234
-
Run integration test
dotenv -e .env yarn test:services
- For Api Documentation open http://localhost:7777/api-docs/ (you can also send http request from here)
You are all set!
- somikdatta for this cool readme template
If you happen to love this project, leave a star on the repo. That'll keep me motivated. Let me know your thoughts with a tweet. Mention me @ashikduit.
Thanks!
Contributions are welcomed!
Developed with ❤️ in Bangladesh