Uncategorized

How to take data from CVS files (containing hotel name, description, price, etc), and push it into the database?

Using SPRING BOOT
I WILL ATTACHED ALL THE CVS FILES AND WORKING CODES LATER
I want to move cvs files data into my database so I can display it on the frontend side.
for extra info, when a file says 4 adults, we need to push data into the database and add an attribute numGuest =2 whereas if the file says 2 adults, we will need to add numGuest = 2 for each entry
if the file says SF, add attribute location = “San Francisco”
and if the file says LA, add attribute location = “Los Angeles”
so as a recap, I want to store the “{AREA}, CITY” inside location

Leave a Reply

Your email address will not be published. Required fields are marked *