Giter Club home page Giter Club logo

spring-azure-demo's Introduction

Spring CRUD App

This repository will help you to Deploy your spring boot CRUD application on Azure. You can also do continuous deployment.

Steps

  • Step 1 : Create MySql Database on Azure
  • Step 2 : Create Database name demo (Create database demo)
  • Step 3 : Create Table Employee (create table employee(empId int primary key AUTO_INCREMENT, name varchar(35), address varchar(35), dob Date, salary int))
  • Step 4 : Download this repository
  • Step 5 : Open src/main/resources/application.properties file
  • Step 5 : Fill all your database details on this file.
  • Step 6 : Run this repository (mvn clean package , mvn spring-boot:run). It should work fine. Test api endpoints using PostMan or some other tools.
  • Step 7 : Create a Github Repository.
  • Step 8 : Push complete code to it.
  • Step 9 : Go to Azure, open App services
  • Step 10 : Choose runtime stack as Java8 , web server stack as Java SE(Embedded server) and app service plan according to you.
  • Step 11 : Create the App
  • Step 12 : Go to deployment center on left.
  • Step 13 : Choose Source as Github , Authorize yourself, Choose you Repository
  • Step 14 : And save it. It will deploy you application on Azure
  • Step 15 : If you want to do any changes in API, Go to your IDE, make change, push it on Github. After some time it will start reflecting on your API.

spring-azure-demo's People

Contributors

vipinsinghchauhan avatar

Watchers

James Cloos avatar  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.