How to Build a RESTful CRUD App With Spring Boot and Angular

preview_player
Показать описание
In this video I show how to build a RESTful CRUD application with Spring Boot and Angular. I create both projects from zero, connect the backend to a PostgreSQL Database and create CRUD endpoints compliant with the RESTful standards. In the frontend, I create many forms to create and update the entities, and display the returned items dynamically.

Chapters:
0:00:00 Introduction
0:02:30 Backend creation
0:03:40 Read endpoints
0:08:00 Aspect configuration
0:10:12 Create endpoints
0:11:28 Database configuration
0:16:29 Frontend creation
0:21:58 CORS configuration
0:23:26 Form creation
0:31:07 Delete endpoint
0:34:43 Update endpoint
0:36:33 Wrapper component
0:40:49 Edit component
0:42:54 Conclusion

Рекомендации по теме
Комментарии
Автор

Very well done (i am not yet thru)! Very many thanks - absolute great tutorial!

May i kindly ask if one must have a running Postgres on the defined port running or should that be "generated on the fly"? (only part i had to switch to a inmemory H2 DB because i wasn't able to get it to run). Will defently further dive in to the materia to get a full understanding but you already enabled me for a quite good base to further learn! Again thank you! :)

HerSis
Автор

Leaving this for others: If you encounter some JPA/ SQL Errors during startup when adding the persistence you migh try renaming the 'year' variable of the Vehicle Entity. I switched to H2 in-memory DB as i didn't get it to run with PostgreSQL (unsure if one needs a seperate DB or the config should setup one) and received that error. Keep on doing! I know its frustrating (spend around 10 hours on this single video to get anything to run) but it is very well worth it :)

HerSis
Автор

awesome content.. can you do the same video but with the use of ngrx in the frontend and the security is done with jwt with spring boot in the backend.. Your video is one the best there is and I find it very easy to learn..

abianand
Автор

Hola Sergio, a mi si me gustaria que tal vez continuaras con este mismo proyecto, para agregar end point PATCH, filtros, luego agregaras seguridad. Tengo una prueba técnica que me gustaria enviarte para que tal vez la realices a tu criterio y más adelante podrias compartir... gracias por tus aportes

col_yom
Автор

Hi Sergio, great video mate 👌quick question, how do I do performance testing of microservices architectures on the cloud? I want to find out resilience, scalability etc etc. Thanks

denziloplays
Автор

Coud you please give us the query of vehicle table creation?

aqwseijnhy
Автор

¿Vas a sacar algo relacionado a mensajería y colas? Siento que no hay mucho, pero hablo de nivel de arquitectura y desarrollo, por ejemplo notificar eventos entre sistemas o notificaciones push, desde diseñar algo estable (lo importante de la arquitectura acá) hasta desarrollo quizás con nats js, kafka, etc. Buenos videos por cierto.

DesingFxTube
Автор

Would be really nice if you stopped torturing us with that light mode LOL!

adriandev
Автор

thanks a lot for the content, please do a video about spring security jwt.

abdellahguennioui
Автор

Thanks for the content ! I have a question . How I can testing the layers service, repository and controller ? Thank you.

manuonda
Автор

Could you please show how to deploy this full stack api in aws with docker?

vazhabek
Автор

Is in this app used specific design pattern?

The_Fly
Автор

im getting this (followed up to 6:15)


APPLICATION FAILED TO START


Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).


Process finished with exit code 1

ok-cxqd
Автор

for beginners this is useless. its like reading technical document with UI.
If I understood everything he did then I dont need to see this video.
its like he is practising for himself and thought it will make a good vlog.. sorry it doesnt help us especially with that title and stop with that closeup scary selfie video in between!!

CHAITHANYAkitta