Commit Graph

8 Commits

Author SHA1 Message Date
Prajwal Moharana
55a03ff3fd
Connect update to backend (#55) 2025-01-07 12:13:57 -05:00
Aidan Kim
7d705ac743
API Routes for Resources and Services (#40)
* Implemented API routes for getting all, creating, updating, and deleting resources, services, and tags.

* Updated main.py for API routes to include tags and rolled entities back.

* Created API routes for create, update, delete, get_all, and get_by_name. Deleted service methods for get by id.

* Defaults created_at to current time

* Write markdown file for HTTP requests using curl

---------

Co-authored-by: pmoharana-cmd <pmoharana032474@gmail.com>
2024-11-05 19:12:03 -05:00
Emma Foster
99e43c7b30
Resource Service and Tests (#41)
* Implement Resource service, tests, and test data with 97% coverage.

* Update slug service to return empty list and corresponding tests

* Update resource update tests to grab resource by id from the db to check
2024-11-04 15:10:58 -05:00
pmoharana-cmd
ba15bf7519 Implement resource api methods 2024-04-24 20:18:09 -04:00
Sushant Marella
4e090e5bd5 Update methods so that it checks for users' role and group directly in each method 2024-04-24 20:01:26 -04:00
Sushant Marella
6cc0d697d4 Modify methods to filter resources based on user access 2024-04-24 20:01:19 -04:00
blake hardee
31b714e70d resource service methods wip 2024-04-24 20:01:05 -04:00
emmalynf
012f941da7 Set up User and Tag tests/fixtures, Fix data type errors 2024-04-12 17:38:20 -04:00