GithubHelp home page GithubHelp logo

optimove-restapi-springboot's Introduction

Here's how to run the provided Docker commands to create databases for your Spring Boot REST API project:

1. MySQL Database:

This command creates a detached (-d) MySQL container named by default (--name=""). It sets the root password (MYSQL_ROOT_PASSWORD) to "root" and maps the container's port 3309 to the host machine's port 3306 (-p 3309:3306). Additionally, it forces lowercase table names (--lower_case_table_names=1).

Here's how to run the provided Docker commands to create databases for your Spring Boot REST API project:

1. MySQL Database:

Instructions:

Open a terminal window. Run the following command

docker run -d -e MYSQL_ROOT_PASSWORD=root -p 3309:3306 mysql --lower_case_table_names=1

2. MongoDB Database:

Instructions:

Open a terminal window. Run the following command:

docker run -d --name mongodb -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=root -p 27017:27017 mongo

Depending on your Spring Boot application configuration, you might need to adjust the connection details (host, port, username, password) to connect to the databases from your application.

Get The Optimove Data from MYSQL

http://localhost:8080/api/optimove/save
http://localhost:8080/api/optimove/optimovelist?page={value}&size={value}
http://localhost:8080/api/optimove/optimovelistwithbrand?page={value}&size={value}&brand={name}

Get The UseCaseAndTopics Data from MONGODB

http://localhost:8080/api/usecase/topics/data

git diff Get The Kafka Data

http://localhost:8080/api/kafka/kafkadata

Data Retrieval:

Get The Optimove Data from MYSQL and Get The UseCaseAndTopics Data from MONGODB:

  • Optimove data is likely retrieved from a MySQL database.
  • UseCaseAndTopics data is retrieved from a MongoDB database.

Data Processing: Get The Kafka Data: it is triggering the storage of the combined data. Here's a possible scenario: After retrieving and potentially combining Optimove and UseCaseAndTopics data and this API call will store it in a MySQL database for further processing or storage.

optimove-restapi-springboot's People

Contributors

iamsnkr 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.