Skip to content

Instantly share code, notes, and snippets.

View bijay-shrestha's full-sized avatar
👨‍🎓
MSCS Compro

Bijay Shrestha bijay-shrestha

👨‍🎓
MSCS Compro
View GitHub Profile
@bijay-shrestha
bijay-shrestha / MicroservicesConfigurations.md
Last active August 24, 2022 12:39
Microservices Setup

Eureka Server

YAML

server:
  port: 9091

eureka:
  client:
    register-with-eureka: false
    fetch-registry: false
@bijay-shrestha
bijay-shrestha / application.yml
Last active August 16, 2022 19:18
H2 Database
spring:
datasource:
url: jdbc:h2:mem:testdb
h2:
console:
enabled: true

GitHub

Add Github repository to local drive

echo "# error-handling" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/bijay-shrestha/error-handling.git