This project is a web application for a bookstore that sells books and clothing items. It is built using Next.js, NextAuth for authentication, Stripe for payments, and Material-UI (MUI) for the user interface.
- Clone the repository: git clone https://github.com/anwar-2000/bookstore.git
- Navigate to the project directory: cd bookstore
- npm install
- Configure environment variables: create env. Update the values in .env file with your specific configuration
- Start the development server: npm run dev ##Features Users can browse and purchase books and clothing items. Users can add items to their cart and proceed to checkout. Integration with Stripe allows secure and seamless payment processing.
##Tech_Stack
- NEXT13 - React framework for building the user interface.
- GraphQL - Query language and runtime for APIs.
- MONGODB - Database system for storing and retrieving data.
- Cloudinary - Image Hosting Service.
- NEXTAUTH - Authentication library for Next.js applications.
- STRIPE - PAYMENT PROCESSING PLATFORM
The project structure follows a standard Next.js application structure. Here's an overview of the main folders and files:
pages/
- Contains the different pages of the application.components/
- Reusable UI components.styles/
- Styling files (e.g., CSS, SCSS) for the components.public/
- Static assets (e.g., images, fonts).models/
- MongoDB schema and queries.lib/
- Utility functions and helper files.
Books List with a side nav , pagination included
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature/bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.