A modern book purchasing platform that enables users to browse, search, and purchase books from a vast collection powered by the Google Books API.
Readily is a full-stack e-commerce application designed for book enthusiasts. The platform offers a seamless experience for users to discover books through various categories, trending titles, new releases, and personalized recommendations. Users can explore detailed book information, add items to their cart, and complete the checkout process.
- React for the frontend framework
- Redux for state management
- Node.js & Express for the backend
- MongoDB for database
- Google Books API for book data
- Tailwind CSS for styling
- Vercel for deployment
Follow these steps to set up the project on your PC:
- Node.js (v16 or higher)
- pnpm (v8 or higher)
- MongoDB connection string
- Google Books API key
-
Clone the repository:
git clone https://github.com/sahiwl/readily.git cd bookapp -
Backend setup:
cd backend pnpm install -
Create a
.envfile in the backend directory with the following variables:PORT=5000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret GOOGLE_BOOKS_API_URL=https://www.googleapis.com/books/v1 GOOGLE_BOOKS_API_KEY=your_google_books_api_key -
Frontend setup:
cd ../frontend pnpm install -
Create a
.envfile in the frontend directory:VITE_API_URL=http://localhost:5000 -
Start the backend server:
cd ../backend pnpm run start.dev -
Start the frontend development server:
cd ../frontend pnpm run dev -
Open your browser and navigate to
http://localhost:5173
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add some amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
~let it rip.
Sahil