learning-project-01 / bookstore-app

3 stars 2 forks source link

added user signup api #11

Closed rkpatra201 closed 10 months ago

rkpatra201 commented 10 months ago

Task: https://github.com/learning-project-01/bookstore-app/issues/10

image

curl --location 'localhost:8080/user/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"abcd@email.com",
    "password": "abc@123",
    "firstName":"John",
    "lastName": "Doe",
    "role": "CUSTOMER" 
}'
Subhransupanda2000 commented 10 months ago

I saw your codes . But i have created all api individually .ex-your all controller layer are in same package called controller but i have all controller layers in different packages and for each api i have created individual flyway and db/scripts .should i follow your approach or no need of correction

rkpatra201 commented 10 months ago

I saw your codes . But i have created all api individually .ex-your all controller layer are in same package called controller but i have all controller layers in different packages and for each api i have created individual flyway and db/scripts .should i follow your approach or no need of correction

Yes follow same approach as mine

Subhransupanda2000 commented 10 months ago

I didnt get your createUser method of userImpl class