Skip to content

An online bookstore application built with Spring Boot.This project features user authentication, book browsing, and purchase functionalities, allowing users to search for and buy their favorite books. Users can add books to their shopping cart.

License

Notifications You must be signed in to change notification settings

ashkanfrs/bookshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookshop

An online bookstore application built with Spring Boot. This project features user authentication, book browsing, and purchase functionalities, allowing users to search for and buy their favorite books. Users can add books to their shopping cart. The application is designed with a robust back-end.

Features

  • User authentication (registration, login)
  • Search functionality
  • Add books to the shopping cart
  • Purchase books

Technologies Used

  • Spring Boot
  • Spring Data JPA
  • PostgreSQL

Getting Started

Prerequisites

  • Java 11 or higher
  • Maven
  • PostgreSQL

Installation

  1. Clone the repository:
    git clone https://github.com/ashkanfrs/bookshop.git
  2. Navigate to the project directory:
    cd bookshop
  3. Set up the PostgreSQL database:
    CREATE DATABASE bookshop;
  4. Update the application.properties file with your PostgreSQL database credentials:
    spring.datasource.url=jdbc:postgresql://localhost:5432/bookshop
    spring.datasource.username=your-username
    spring.datasource.password=your-password
    
    spring.jpa.hibernate.ddl-auto=update
  5. Build the project:
    mvn clean install
  6. Run the application:
    mvn spring-boot:run

Usage

  1. The back-end server will start on http://localhost:8081.
  2. Use tools like Postman or curl to interact with the API endpoints for user registration, login, book browsing, and purchasing.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

About

An online bookstore application built with Spring Boot.This project features user authentication, book browsing, and purchase functionalities, allowing users to search for and buy their favorite books. Users can add books to their shopping cart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages