![]() And I won’t respect CLEAN folder structuring as we are in a hurry! From now on, every java file that I address, is under: src\main\java\com\love\backend\įor the coding part, I wanted to use IntelliJ IDEA for this tutorial, but as I love Microsoft and its products, I’m going to use VSCode. In this article I am not going to dig into testing (maybe another time) and just focus on files under the main folder to write a simple REST API. Under main folder we have our code and under test folder we may write tests. Open this, and follow:Ĭodes are in src folder. Spring website gives us good starting point. MongoDB is the most famous NoSQL DBMS (Database Management System) out there! For comprehending this article, it doesn’t matter if you know MongoDB/NoSQL or not, although I strongly suggest that if you are not familiar with this family of DBMSs don’t waste the time! REST API - > Create the project This surely makes things more interesting! What is MongoDB and why have I chosen this? If you’ve never heard of it, or you want to read what the creators are saying, I recommend that you take a look at their website and come back.Īccording to go.java, Netflix uses Spring Boot heavily for their services. ![]() Spring Boot is an open source Java-based framework used to create a web applications and/or micro services. Also, the source code for this article is here. I will try to be through and explain every bit of what’s going on. This article is good for those like me who want to enter the Java Back End realm from somewhere else (.NET Core
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |