Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.52 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.52 KB

Online-Bookstore

Description: An online bokstore to buy and sell books online.

Table of Contents

Description

This project is a backend server for an online bookstore, using Nestjs and Typescript, a PostgreSQL database and TypeORM, along with JWT authentication and Paymob Payment Inegration.

Installation

  1. Clone the repository:

    git clone https://github.com/SaifAshrafHelmy/Online-Bookstore.git 
    cd Online-Bookstore/server
    
  2. Install the required dependencies:

    npm install
    
  3. Create a PostgreSQL database with the name online-bookstore.

    • Make sure to update the database username and password in the app_module_imports.ts file according to your actual credentials.
  4. Run the server:

    npm run start:dev 
    
  5. Test the application using Swagger or Postman collection:

Usage

  1. Register or log in to your account (as a cusomter or a seller).
  2. Explore books or add new books.
  3. Create an order for the books wanted.
  4. Pay for the order using your Credit Card or Mobile Wallet..