- unit test your work
- create a database class called "User" with the following columns
- firstName
- password
- create a database class called "TaskItem" with the following columns
- id
- title, String
- createdOn, Datetime
- completed, Bool
- completedOn, Datetime
- user, User
- Create a login endpoint that logs a user in if username and password are correct
- Create an endpoint that allows for the creation of a new task
- Should require a logged in User
- should create the database object
- automatically assign "user" to the logged in user
- return the created task
- Create an endpoint that marks the task as complete
- Should require a logged in User
- mark completed as true
- Create an endpoint that marks the task as incomplete
- Should require a logged in User
- mark completed as false
- Create an endpoint that deletes the task
- Create an endpoint that fetches all tasks for a given user
- use authentication to pick user
-
Notifications
You must be signed in to change notification settings - Fork 0
panda-clouds/dotnet-interview
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published