Minor Project Read Me : https://docs.google.com/presentation/d/1Vif4DYJbgNCpLLD9KKt-1tLdRCpsupLPtHfrwT5hcRk/edit?usp=sharing
if anyone wants to access this slide, plz email me your id, i will grant access. Email id : piyush5807@gmail.com
Intro to Maven Intro to Spring / Spring Boot Creating a Web Services (Web App) using Spring Boot Creating REST/RESTful APIs (like /search API of Google) Intro to MySQL and JDBC Introduction to JPA, Hibernate & Spring Data (with MySQL)
Assignments/Tasks need to be done by next week (These are pre-requisites):
- Make yourself comfortable with basics of core Java (Useful links given below)
- Install and explore "Postman" (by hitting some APIs), study about JSON also (Useful links given below)
- Install Maven (Useful links given below)
- Install MySQL (including workbench) and try some commands(Creating table etc.) (Useful links given below)
- Study about REST APIs (GET, POST, PUT etc.) (Useful links given below)
Useful links:
For REST APIs https://www.youtube.com/watch?v=xkKcdK1u95s&list=PLqq-6Pq4lTTZh5U8RbdXq0WaYvZBz2rbn (only first 7 videos of this playlist)
For core Java: https://www.geeksforgeeks.org/java/ https://www.w3schools.com/JAVA/default.asp https://www.youtube.com/watch?v=W-N2ltgU-X4
For Postman: https://www.postman.com/downloads/ https://www.youtube.com/watch?v=7E60ZttwIpY
For MySQL: https://www.youtube.com/watch?v=WuBcTJnIuzo https://linuxconfig.org/install-and-configure-mysql-workbench-on-ubuntu-linux
https://www.youtube.com/watch?v=7S_tz1z_5bA (only first one hour will be sufficient) https://www.mysqltutorial.org/
For Maven: https://www.youtube.com/watch?v=pt3uB0sd5kY https://maven.apache.org/install.html
For JSON: https://www.youtube.com/watch?v=iiADhChRriM
Adding few more links ( for core Java only): https://www.youtube.com/watch?v=pTAda7qU4LY&list=PL59LTecnGM1Mg6I4i_KbS0w5bPcDjl7oz&index=9 https://www.youtube.com/watch?v=70qy6_gw1Hc&list=PL59LTecnGM1Mg6I4i_KbS0w5bPcDjl7oz&index=13 https://www.youtube.com/watch?v=6q98thyEX4Q&list=PLonJJ3BVjZW6_q8gh7XoLUIhRIyBcYJLP https://www.youtube.com/watch?v=7GwptabrYyk
=============================================== The useful links
https://api.github.com/search/users?q=shashi
https://developer.github.com/v3/
============================= Useful YouTube Playlists:
https://www.youtube.com/watch?v=msXL2oDexqw&list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x
https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE
https://www.youtube.com/watch?v=y8IQb4ofjDo&list=PLqq-6Pq4lTTZSKAFG6aCDVDP86Qx4lNas
https://www.youtube.com/watch?v=o8RO38KbWvA&list=PLqq-6Pq4lTTbXZY_elyGv7IkKrfkSrX5e
https://www.youtube.com/watch?v=upoIwn4rWCo&list=PLqq-6Pq4lTTaoaVoQVfRJPqvNTCjcTvJB
==============================================================
Next week (3rd), we will discuss details of JPA / Hibernate and exception handling in Spring/Spring Boot.
Assignments for next week (at end of 2nd week):
- Create REST APIs (Get, POST, DELETE, PUT) for User, Book and save/update/search data to/from MySQL.
- Implement GET APIs using query param / path param to search for a book (like using author name ) or user in the DB
- Try hitting other GitHub APIs using RestTemplate
Try hitting other APIs with Postman/Browser/Spring code e.g. https://any-api.com/
https://www.youtube.com/watch?v=msXL2oDexqw&list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x You can watch some JPA videos from here (you can watch other videos from this playlist as well). Some other useful videos: https://www.youtube.com/watch?v=gq4S-ovWVlM https://www.youtube.com/watch?v=bNFoN956P2A
===============================
- minor project 1
- Spring actuator
- Loggers
- will start Spring Security
- Run all the Apps we discussed in the class using JPA, MongoDB, Exception Handling etc.
- Create minor project 1 (details given below)
- Read the basics of upcoming topics (Spring actuator, Loggers, Spring Security)
Create Spring Boot App for a library management system, with (at least) following features
- APIs for creating/updating/fetching/deleting users
- APIs for creating/updating/fetching/deleting/searching books
- User can rent a book from library using Spring Boot + REST APIs + MySQL + JPA .