Giter Club home page Giter Club logo

clh-bookstore's Introduction

CLH Bookstore Application

Description

The CLH Bookstore Application is a key component of the CLH infrastructure, designed to manage and store data efficiently. This application is built using Java 17 and is containerized using Docker, ensuring ease of deployment and scalability.

Environment Variables

The application requires the following environment variables to be set:

  • POSTGRES_URL: URL for the PostgreSQL database (e.g., jdbc:postgresql://<hostname>/<dbname>)
  • POSTGRES_USER: Username for the PostgreSQL database
  • POSTGRES_PASSWORD: Password for the PostgreSQL database

Building the Application

To build the application, you can use the provided Gradle wrapper. Ensure that you have Java 17 installed on your system. Run the following command in the root directory of the project:

./gradlew build

This command compiles the application and generates the necessary artifacts.

Launching the Application

For launching the application, refer to the Docker Compose setup available at CLH Deployment Repository. The Docker Compose file is configured to set up the application along with its dependencies, such as PostgreSQL and Redis.

License

This project is licensed under the terms of the LICENSE file in the root directory of this project. Please refer to the file for detailed information on the licensing terms and conditions.

clh-bookstore's People

Contributors

glad2os avatar

Forkers

glad2os

clh-bookstore's Issues

Book image url

I need image url of book should be saved in database so that the client side can display it.

Login bug

Issue: Login without username will get error.

Requirement: Should only require email and password.

Implement Publisher

Please check the current project structure.

  1. Start making tests to create a new publisher
  2. Create an IPublisher interface
  3. Implement publisher service implements IPublisher
  4. Finish the test and launch it.

Author image url

I need image url of author should be saved in database so that the client side can display it.

Implement gRPC Publisher

After finishing #1
Please follow this instruction.

  1. Create a proto file (src/main/proto)
  2. Introduce RPC functions from IPublisher and entities for income and outcome traffic
  3. Generate source using the command ./gradlew generateProto
  4. Implement PublisherServiceGrpcImp extends PublisherServiceGrpc.PublisherServiceImplBase

Develop tests or test it using https://insomnia.rest/

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.