SHIV5T3R / CO-DE

An Open Source Collaborative Code Editor
35 stars 26 forks source link

Added some cool stuff like data types, edited package.json and other stuff. #25

Closed MrBisquit closed 1 year ago

MrBisquit commented 1 year ago

type User = { firstName: string; lastName: string; email: string; image: string; // Needs to be an actual image. }

The User type class should include the username, email and password I guess. The firstname and lastname properties not needed. Please refer to the ERD.

I copied this from backend and I didn't see any username tag, I can do one anyway though if you want.

believemanasseh commented 1 year ago

type User = { firstName: string; lastName: string; email: string; image: string; // Needs to be an actual image. } The User type class should include the username, email and password I guess. The firstname and lastname properties not needed. Please refer to the ERD.

I copied this from backend and I didn't see any username tag, I can do one anyway though if you want.

The firstName and lastName properties are not needed either. You can take a look at the ERD below

image

MrBisquit commented 1 year ago

@believemanasseh I have done this.

type User = { firstName: string; lastName: string; email: string; image: string; // Needs to be an actual image. } The User type class should include the username, email and password I guess. The firstname and lastname properties not needed. Please refer to the ERD.

I copied this from backend and I didn't see any username tag, I can do one anyway though if you want.

The firstName and lastName properties are not needed either. You can take a look at the ERD below

image