@@saitej4256 seems you haven gone over the course. There is admin pages for managing the application, You can recostomize to fit your use case.Or create a separate admin microservice frontend. It's the same process
It's not easy to get a "playground" testing credentials from core banking providers. If you can, do let me know then we proceed to build a fully testable banking service 😃😃
You can store files directly as blob in your database. But again that's not the best practice as it'll lead to Increased Database Size, Performance Overhead and Higher I/O Operations. Outside from using cloud, you can save images in a folder on your system or your server and save the path reference in the db table
thank you for your project, i would like to ask some questions regarding roomtype and roomimage. What is your recommandation for saving multiple image into one roomType, i already create a seperate roomtype table, should i create a seperate table for roomimage too?
Sure you can, it'll work very fine. Here are some i could think off Advantages of separate RoomType Entity 1 It Avoids inconsistencies and reduces data redundancy and anomalies. 2 Facilitates easy addition of new room types 3 Easier to generate reports and analysis on room types and the platform generally 4 Can easily be upscaled Disadvantages of separate RoomType Entity 1 Add complexity to code 2 Unnecessary if you have few room types
It is a semi-monolytic or a semi-microservice because we have separate frontend and backend service. A full microserice would have broken the backend into futher independent microservices
When am doing testing of backend api ....register login properly work but when I taking admin token to test get all user that time I am getting error 403 ..still last 4 days I am not able resolve this error
Okay check that theGetAllUsers endpoint is permited by admin. @PreAuthorize("hasAuthority('ADMIN')") I have the repo on the link description.Please go through and compare with yours
I met this 403 error as well. After I've checked all my code of token, I found that I missed an exclamation mark at 'isTokenExpired(token)', so my token always expired.😅
Sure. You can store your images anywhere either in cloud, directly on your database tables or on your server. But storing on the cloud is widely used for production ready applications
@@SaipriyaRamA yeah. When you click upload collect the image and save it in a folder in your laptop and store the location path in your database so you can easily reference the image
when i test http method login (localhost:localhost:4040/auth/login) in postman. it shows an error Failed to authenticate since password does not match stored value in console. please me to resolve this issue. i gave same password when i registered but it gives error
"statusCode": 500, "message": "Error Occurred During USer Registration rawPassword cannot be null" bhai how to solve this error while register new user or admin
@@PhegonDevSir i tried to deploy it with reference to the video but the problem is in AWS S3 there is a secret key and a access key. I am initially storing them in environment variables but when I converted it into jar file and moved it into ec2 instance....the code is failing as it can't find the environment variables. Can you suggest how to add them in the virtual machine?
yeah. You'll have to make some modification as regards saving the image. You can create a folder on your computer, So when the image is uploaded you save it on the folder you created and save the path to the image in the database table.
how can i fix the error 500(internal server error ) the frontend and backend connection error , when we register they show the error 500 "statusCode": 500, "message": "Error Occurred During USer Registration rawPassword cannot be null"
The more I realize the value you packed in here the more I keep throwing comments. I will be sharing your link on X and linkedin. ❤❤❤🎉
@@TochukwuVictor-qe4xd Thanks man. Much appreciated ☺️
The best Teacher I have ever seen Thank you Sir Phegon all the way
I appreciate Eric 👍🏽👍🏽👍🏽
Thanks so much phegon dev. Give out this value for free.. Is worth more than paid course. ❤❤
Thanks for the appreciation Victor 🙏🏽
God bless you sir!
🙏🏽🙏🏽
Good Job bro....Do more for us
😁😁
Good Job bro....Do more for us
Thank you making for this
😄
Bro how to go for admin pannel.The Admin button pannel is not showing .please help me Bro
@@saitej4256 What's the error? It's working fine for other. Check the repo and crosscheck with yours
@@PhegonDev sir actually how to go for admin pannel
@@saitej4256 seems you haven gone over the course. There is admin pages for managing the application, You can recostomize to fit your use case.Or create a separate admin microservice frontend. It's the same process
Excellent
Thanks friend
403 Forbidden, Solved now.
🤔🤔
Thanks very much for this content and selfless service, pls can you create a Banking App APi Sir thank you
It's not easy to get a "playground" testing credentials from core banking providers. If you can, do let me know then we proceed to build a fully testable banking service 😃😃
How can i do this without s3 because we dont have access to Amazon s3..plz make video without s3
You can store files directly as blob in your database. But again that's not the best practice as it'll lead to Increased Database Size, Performance Overhead and Higher I/O Operations. Outside from using cloud, you can save images in a folder on your system or your server and save the path reference in the db table
Sir please make one video on how to download and run this hotel project on local environment
Please please please please please
you can clone and replace the project with your database & aws credentials
thank you for your project, i would like to ask some questions regarding roomtype and roomimage. What is your recommandation for saving multiple image into one roomType, i already create a seperate roomtype table, should i create a seperate table for roomimage too?
Wiith separate RoomType table, what are the code changes/ addition required for existing operation?
you'll need to and relationship it's to the room entity, create crud implementation for adding a room type. Then change your mapping logic
Can you please upload a git repo where you don't use aws
I do not have that for now. When i do will update you
Have you used hibernate for data persistence in this project?
yes
phegon brother please make a video where u dont use aws...i cannot use my debit card for creating account coz of some problem help me ;(
@@shri7105 hmmm. No problem
can we create a separate RoomType table ? any adavantage Disadvantage on separate RoomType table?
Sure you can, it'll work very fine.
Here are some i could think off
Advantages of separate RoomType Entity
1 It Avoids inconsistencies and reduces data redundancy and anomalies.
2 Facilitates easy addition of new room types
3 Easier to generate reports and analysis on room types and the platform generally
4 Can easily be upscaled
Disadvantages of separate RoomType Entity
1 Add complexity to code
2 Unnecessary if you have few room types
❤
sir please can you tell us how to run this project on localhost in our personal system
Clone and replace with your aws and database credentials
Is this project using a monolithic architecture or a microservices architecture?
It is a semi-monolytic or a semi-microservice because we have separate frontend and backend service. A full microserice would have broken the backend into futher independent microservices
@@PhegonDev Thank you so much ❤❤
layered architecture
When am doing testing of backend api ....register login properly work but when I taking admin token to test get all user that time I am getting error 403 ..still last 4 days I am not able resolve this error
Okay check that theGetAllUsers endpoint is permited by admin.
@PreAuthorize("hasAuthority('ADMIN')") I have the repo on the link description.Please go through and compare with yours
Okk
@@abhishekkurle295 bro how to go for admin pannel.The Admin button pannel is not showing .please help me bro
I met this 403 error as well. After I've checked all my code of token, I found that I missed an exclamation mark at 'isTokenExpired(token)', so my token always expired.😅
how can i deploy it?
You can deploy on aws, azure or GCP. Will be making a course on those. For meantim, you can search for resources on youtube / online
bro how to set username and password for admin role?
You can create a separate micro-service specifically for admin registration. Or just use postman😃
Can we not use aws in this project....is there any alternative for it...
Sure. You can store your images anywhere either in cloud, directly on your database tables or on your server. But storing on the cloud is widely used for production ready applications
Can i use my laptop as a local storage ......what should i do for that..@PhegonDev
@@SaipriyaRamA yeah. When you click upload collect the image and save it in a folder in your laptop and store the location path in your database so you can easily reference the image
@@PhegonDev is Postman needed to do this project for a beginner.....is there any alternative for it...?
@@SaipriyaRamA The project is not for beginners
i am facing issur while accesing the localhost:4040 server it shows "server 4040 access denied" error how can i fix it?
Check the error thrown on the logs. Most likely credentials not valid
@@PhegonDev yeah i fixed it i just want to know how can i deploy it free? with backend
@@wearedogs2 You can deploy to AWS th-cam.com/video/YC7NBNICGeY/w-d-xo.htmlsi=Q_GLzu4ycmJ3zKD8
Bro I am facing same problem.please reply bro.how to solve
@@wearedogs2 bro please tell me how to solve this issue
when i test http method login (localhost:localhost:4040/auth/login) in postman. it shows an error Failed to authenticate since password does not match stored value in console. please me to resolve this issue. i gave same password when i registered but it gives error
add logs to where you are matching the password. if it doesn't match, then it doesn't.
"statusCode": 500,
"message": "Error Occurred During USer Registration rawPassword cannot be null" bhai how to solve this error while register new user or admin
Can i use Spring boot Service
This is a spring-boot project
Can anyone please tell me why we have used DTO here, what are the benefits of using it? instead of writing the same functionalities in service class.
By using DTOs, you can control exactly what data is sent to the client, ensuring that sensitive information (like passwords) is not exposed.
@@PhegonDev Thank you
Sir this is microservices architecture?
@@MohanCoder2k yes it is
no that is monolith
no payment method
🤨🤨
How to deploy it?
@@terminator96 You can follow this; th-cam.com/video/YC7NBNICGeY/w-d-xo.htmlsi=slG8Ohm0Av6Z7pU8
@@PhegonDev Thanks sir
@@PhegonDevSir i tried to deploy it with reference to the video but the problem is in AWS S3 there is a secret key and a access key. I am initially storing them in environment variables but when I converted it into jar file and moved it into ec2 instance....the code is failing as it can't find the environment variables. Can you suggest how to add them in the virtual machine?
bro can u share source code please 🙂
do you use database
Yes
@@PhegonDev WHAT IS THE DATABASE??
@@user-yt8jd1oo7c MYSQL
Is it possible to complete this project without using AWS? If so, could you please guide me on how to proceed?
yeah. You'll have to make some modification as regards saving the image. You can create a folder on your computer, So when the image is uploaded you save it on the folder you created and save the path to the image in the database table.
Bro I can use your secrete key
Sure 😀. It's a random generated character
❤
@@abhishekkurle295bro how to go for admin page In this Application.
how to get free account aws :/
Just sign up
It's free for 1yr
After 1yr resources will be limited
@@PhegonDev i just get notification for 12 month i have free acccess
@@PhegonDev bro how to set username and password for admin role
how can i fix the error 500(internal server error ) the frontend and backend connection error , when we register they show the error 500
"statusCode": 500,
"message": "Error Occurred During USer Registration rawPassword cannot be null"
check your code. this "rawPassword" is somehow null. Your frontend is not capturing and passing the password to the backend. Add logs to see
@@PhegonDev yes login successfully but cant add rooms they have some problem occured POST localhost:4040/rooms/add 403 (Forbidden)
no payment method
You can add that at you end 😁
th-cam.com/video/_eTcseS410E/w-d-xo.html There is guy who explaining how to integrate paypal method payment :))))