top of page

Rest API + AWS RDS Demo

  • Writer: Anand Nerurkar
    Anand Nerurkar
  • Dec 12, 2024
  • 1 min read

How to develop rest api with AWS RDS and test it locally.


Pre-Requisite

1. Eureka service Git Hub -

2.Restaurent Service

USer Service

Git hub -


3. AWS free tier account

4. AWS RDS MySQL DB created



Steps

1. Download the source code into local

2, Import it into eclipse workspace

3. login to AWS free tier account-> create MYSql DB Instance as below

port =3306


Edit applition.yml file to point to aws rds as below


server:

port: 9091


spring:

profiles:

active: local


application:

name: RESTAURANT-SERVICE

datasource:

username: admin

password: password

driver-class-name: com.mysql.cj.jdbc.Driver

jpa:

hibernate:

ddl-auto: update

show-sql: true

database-platform: org.hibernate.dialect.MySQL5InnoDBDialect



3. Click Run=maven install

4. Run application

5. Test api in postman as below




UserService

===





 
 
 

Recent Posts

See All
Best Chunking Practices

1. Chunk by Semantic Boundaries (NOT fixed size only) Split by sections, headings, paragraphs , or logical units. Avoid cutting a sentence or concept in half. Works best with docs, tech specs, policie

 
 
 
Future State Architecture

USE CASE: LARGE RETAIL BANK – DIGITAL CHANNEL MODERNIZATION 🔹 Business Context A large retail bank wants to “modernize” its digital channels (internet banking + mobile apps). Constraints: Heavy regul

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
  • Facebook
  • Twitter
  • LinkedIn

©2024 by AeeroTech. Proudly created with Wix.com

bottom of page