Code Monkey home page Code Monkey logo

book-store's Introduction

Bookstore App

Welcome to the Bookstore App! This is a full-stack web application built using the MERN stack with TypeScript. It allows users to browse, search, and purchase books from a wide selection.

Features

  • User authentication: Sign up and log in to your account securely.
  • Browse books: Explore our extensive collection of books.
  • Search functionality: Find books by title, author, genre, or keywords.
  • Shopping cart: Add books to your cart and proceed to checkout.
  • Payment integration: Securely purchase books using various payment methods.
  • Admin dashboard: Manage books, orders, and users efficiently.

Technologies Used

  • MongoDB: NoSQL database for storing book and user information.
  • Express.js: Backend framework for building the RESTful API.
  • React.js: Frontend library for creating interactive user interfaces.
  • Node.js: JavaScript runtime for server-side development.
  • TypeScript: Adds static typing to JavaScript, improving code quality and maintainability.
  • Redux: State management library for managing application state.
  • JWT: JSON Web Tokens for secure user authentication.
  • Stripe: Payment processing platform for handling transactions.

Prerequisites

Before running the application, ensure you have the following installed:

Installation

  1. Clone the repository: git clone https://github.com/mayanksahu17/Book-store.git

  2. Navigate to the project directory:

  3. Install dependencies for both frontend and backend:

Configuration

  1. Create a .env file in the server directory and configure the following environment variables:

  2. Replace your_jwt_secret with your preferred JWT secret key.

  3. Replace your_stripe_secret_key with your Stripe secret key.

Running the Application

  1. Start the backend server:

  2. Replace your_jwt_secret with your preferred JWT secret key.

  3. Replace your_stripe_secret_key with your Stripe secret key.

Running the Application

  1. Start the backend server:

  2. Open your browser and navigate to http://localhost:3000 to access the application.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for any improvements or bug fixes.

License

This project is licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.