Coder Social home page Coder Social logo

gs-guides-with-vscode's Introduction

This guide walks you through using VS Code to build one of the Getting Started guides.

What you’ll build

You’ll pick a Spring guide and import it into VS Code. Then you can read the guide, work on the code, and run the project.

What you’ll need

Installing VS Code with Java and Spring support

Choose and visit above links, and follow instructions to install. When you’re done, go ahead and launch VS Code.

Cloning a guide project

To work with an existing project you need some code, so clone or copy one of the Getting Started guides, e.g. the REST Service guide:

git clone https://github.com/spring-guides/gs-rest-service.git

Under the root folder of cloned or copied project, there are initial and complete folders. The initial folder contains initial code set, an empty project, making it possible for you to copy-and-paste your way through a guide. The complete folder contains complete code set where all the code from the guide already entered.

Starting a guide project from initial code set

To start a guide project from initial code set, open the initial folder within VS Code. In first open, accept to import the project.

Open a specific folder in VS Code

Opening the complete version of a guide project

To open the complete version of a guide project, open the complete folder within VS Code. In first open, accept to import the project.

Running a guide

To run, open the source file where main method is defined and click Run on editor window.

Press run on the main java app

Summary

Congratulations! You have setup VS Code, imported the guide to build a RESTful web service, and ran it.

gs-guides-with-vscode's People

Contributors

bclozel avatar buzzardo avatar gregturn avatar martinlippert avatar royclarkson avatar ryanjbaxter avatar sergiovlvitorino avatar spring-operator avatar

Stargazers

 avatar  avatar

Watchers

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