Skip to content

A spring boot application designed to provide an API for dynamically configuring a database connection and persisting verb data within it.

License

Notifications You must be signed in to change notification settings

deyvidfernandes/verb-data-fetcher-springBootApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verb Data Fetcher

A spring boot application designed to provide an API for dynamically configuring a database connection and persisting verb data within it.

Suppported database types:

  • MySQL
  • MariaDB
  • PostgreSQL

API endpoints

Database config

Description: Send database configuration parameters to server and set up the connection.

  • Method: POST

  • Path: api/database/

  • JSON body example:

{
  "url": "localhost:3306",
  "type": "MYSQL",
  "username": "root",
  "password": 1234,
  "table": "verbs"
}

Varb data

Description: Send a array with verb data to server for persist it within the database.

  • Method: POST

  • Path: api/verb-data/

  • JSON body example:

[
  {
    "infinitiveForm": "run",
    "simplePastForm": "ran",
    "participleForm": "run",
    "britishParticipleForm": "ran",
    "britishSimplePastForm": "run",
    "definition": "lorem ipsum dolor",
    "usageIndex": 0.000001,
    "audioUrl": "example-url.mp3",
    "phonetic": "/rʌnz/"
  }
]

About

A spring boot application designed to provide an API for dynamically configuring a database connection and persisting verb data within it.

Topics

Resources

License

Stars

Watchers

Forks

Languages