GithubHelp home page GithubHelp logo

rate-limiter's Introduction

Installation

step-1 Green button on top of the file structure -> Go to Option Download as Zip

step-2 Extract the original Repo from the zipped file

step-3 Set the proper JDK Setup, and download all the dependency

Application Related Setup

Application.propertities file

#url
spring.datasource.url=jdbc:postgresql://localhost:5432/mydb

#username
spring.datasource.username=postgres
spring.datasource.password=Hardwork@365
spring.jpa.hibernate.ddl-auto=update



#console print
spring.jpa.properties.hibernate.show_sql = true
spring.jpa.properties.hibernate.format_sql=true

springdoc.swagger-ui.enabled=true

Changes to be done

spring.datasource.username=postgres

username -> Your userName on postgreSQL server

spring.datasource.password=Hardwork@365

password -> Your password on postgreSQL server

Configuring DataSource

spring.datasource.url=jdbc:postgresql://localhost:5432/mydb

Here, 5432 -> My Database Port Number,changes to be done according to the portNumber of the local postgreSQL port number

mydb is the database name, created on my own postgreSQL Database Server

Steps to Create Database

Create a database named mydb in own local Database server Use the exact same name in the url

Application Level should be done at this time Further Steps After the Application is up and running Go the url -> http://localhost:8080/swagger-ui/index.html Swagger

You will be to see The webpage like the below image, execute the get method to verify the result

image

And Check the Database Table to check the entry of the function name along with its timeStamp, looks something like below

image

rate-limiter's People

Contributors

rahulbarik avatar

Stargazers

 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.