-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
23 lines (21 loc) · 1.01 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Progress:
- Models with migrations: User(already exist), Team, Asset, Tag
- Relationships:
User Team Asset Tag
User - belongsToMany hasMany hasMany
Team belongsToMany - hasMany -
Asset belongsTo belongsTo - belongsTo
Tag belongsTo - hasMany -
- php artisan make:migration create_team_user_table
- setup Sanctum
- create routs (group, resource) & controllers
- Factories
- user can register, login & logout
- search assets: search scope, resources
- user can create/update assets,
- admin can create users, teams & tags
- admin can update teams & tags
- admin can delete tags & teams (pivot record also deleted)
- move auth code to policies (tried but changed my mind)
To Do:
- Write how to install