Git Product home page Git Product logo

ebook's Introduction

EBook

EBook is a project aimed at share Ebook using Spring Boot in Java.

Installation

  1. Clone the repository: https://github.com/Kruzk02/Ebook.git.
  2. Navigate to the project directory: cd Ebook.
  3. Start the project using Maven: mvn clean spring-boot:run.
  4. Access the API at http://localhost:8080.

Usage

Once the application is running, you can use tools like Postman or curl to interact with the API endpoints. Here's an example:

  1. Create a new user: Send a POST request to /api/auth/register with the following JSON payload:
       {
       "username": "myname",
       "password": "password123",
       "email": "[email protected]"
       }
  2. Authenticate the user: Send a POST request to /api/auth/login with the following JSON payload to receive a JWT token:
       {
       "username": "myname",
       "password": "password123"
       }
  3. Use the generated JWT token to access protected endpoints.

Configuration

  • Redis configuration: Configure redis connection properties in RedisConfig.java.
  • Async configuration: Configure async properties in AsyncConfig.java.
  • Security configuration: Customize security settings in SecurityConfig.java.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

ebook's People

Contributors

kruzk02 avatar

Watchers

 avatar

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.