In this video, learn how to finalize the backend for data and the loading point to launch your application.
- [Instructor] Now that we have our initial model, … and it is connected to our server, or our database, … I'd like to pre-load it with some initial data … so when we start it we can test that it works. … So again, in the same folder here, Model, … let's create a new file. … And this file, we're going to call it Demoloader.java. … And then, let's make sure we connect it … to the same package again. … And then let's do some imports. … So we'll do … importorg.springframework.beans. … factory.annotation.autowired. … And I have some spelling mistake here. … So we're good. … All right, so let's copy this line … and paste it again. … And in this one, let's change from this section here, … so instead of beans, it's going to be … boot.commandlinerunner. … And then let's copy and paste again. … And from same area, we're going to call sterotype.component. … And then make sure we decorate our class with component. … And then let's go and define our class. … Public class demoloader implement command linerunner. …
- Reviewing the platforms
- Initializing the project
- Defining the first model class
- Setting up the JPA repository
- Building the endpoints for the HTTP class controller
- Creating the front-end components
- Styling components
- Connecting component to the server
- Adding server controllers
Skill Level Intermediate
1. Initial Setup
2. Spring Models
3. HTTP with Spring
4. Basic Frontend with React
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.