code4romania / next-door

Grow neighbor communities and increase interaction and support between people living within the same zipcode in both calm and difficult times
https://next-door.now.sh
Mozilla Public License 2.0
16 stars 27 forks source link

CRUD Person #23

Open georgebejan opened 4 years ago

georgebejan commented 4 years ago

Currently we have the User entity which holds authentication information. We also need a profile for each user. This profile will be filled after the account is created. In order to hold information about this, we need a Person entity with the following attributes:

There should be a OneToOne connection between a Person and an User

Create the full CRUD functionality (controller, service, repository, entity) and add tests for it

calin-buzetelu commented 4 years ago

I would like to work on this one if it is possible, but I think I will need a little help with the repository part

iccaprar commented 4 years ago

I can help with the backend repo part.

iccaprar commented 4 years ago

Pot incepe eu partea aceasta.

iccaprar commented 4 years ago

Before starting the data model, do we have a single address for the person or multiple addresses? I need to know whether to have the address embedded in the person or as a separate entity with a 1:n relation.