This project has been developed with spring boot , hibernate and JPA . This was developed for learning purposes, it has got something to share.
Everything is just endpoint here [ REST API ]
-
Has signup [adding users ] with validation like if username or email already exists then dont allow.
-
Verify email [ only after email verification change the active status to 1 which means now can login ]
-
Password has been encrypted using bcrypt .
-
Allow login , if ( username or password ) OR ( password and email ) matches.
-
Various CRUD operations for the USERS [ for eg. we can assume an ADMIN can delete users depends on what we want ]
-
User can add products [ OneToMany relationship ] and perform various CRUD Operations on products.
-
Has SMS sending capability [ I have used twilio ] which can send the sms to the user's phone number with some message after the user buys some prouducts [ custom message ]
-
Can send birthday with to the user at scheduled time [ say 8am for eg ] if it's his or her birthday.
9)Can login with facebook functionality [ however nothing has been done to track users & store their credentials ] just to check the login function.
.................... to be continued
-
clone or download this project.
-
import this as existing maven project .
-
First change things that are in properties file like i can't share my twilio secret_id and facebook's id, gmail username and password.
-
check if something has to be change in config file and service implementation file .
-
Now create the database with name specified in application.properties file in datasource url. No need to create table as they will be created automatically by hibernate and jpa based on entity class.
-
I guess that's all you need to know.
-
Understand and run the projcet with various endpoints in controller class to see how project works.
-
Give me feedbacks in this code , where and what can I imporove.