borysn / spring-boot-angular2

spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
MIT License
387 stars 222 forks source link

which IDE to use for development #21

Open danish-monu opened 7 years ago

danish-monu commented 7 years ago

hi

which ide i should use for developing on spring boot and angular 2. r u using one ide for both the backend and the frontend? basically how to setup the development environment?

borysn commented 7 years ago

@danish-monu, any ide you'd like, as long as you have access to gradle it won't matter. which the application is packaged with a gradle wrapper. you can work completely out of the console if you'd like.

I highly recommend looking into the idea suite of applications. particularly intellij for Java, and webstorm for frontend. there is always Eclipse with a large variety of plugins for frontend, Java, and even specifically for spring. feel free to go for Sublime or atom for light weight editors with good plugin support. nvim is always a good option too.

when developing, it's nice to keep frontend and backend separate. so, i.e. you can develop frontend with atom, but backend with intellij. but there's no real right way here. it's kind of what ever you like, or feel most comfortable with.

when I develop, I heavily work out of the console, so my nvim setup is packed with plugins to make life easy. gradle I just run through console. but java side, if I'm doing large new development, or just getting started on a project, it's much easier to work with Java out of an ide.

when trying to import the backend code into a java ide, you'll need support for gradle (usually Plugin), than import source as a project, or convert an existing project to support gradle.

the idea suite of applications comes in Free community version (less plugin support), and a pro paid version. the pro version is much better, and is available for free (with restrictions) to students. (even udacity classes count!)

hope that helps

borysn commented 7 years ago

I'll try to add a writeup for dev env setups for the wiki later today

danish-monu commented 7 years ago

hey, thanks a lot. i would be waiting for the writeup :p

borysn commented 7 years ago

@danish-monu just curious, are you developing with Linux, Windows, or Mac?

danish-monu commented 7 years ago

i am developing with windows

borysn commented 7 years ago

@danish-monu, I'd like to recommend giving a Linux environment a go. really much more flexible and intuitive once you get the hang of it.

I'll make sure to include windows specific notes in the write up though. I'll never support Mac lol, just a personal preference. the setup and config is almost the same as Linux though.