Lambda-School-Labs/startup-grant-database-be

View on GitHub
routers.md

Summary

Maintainability
Test Coverage
ALL ENDPOINTS

GET
    /api/admin/users
        get all Users from Auth0

GET 
    /api/admin/grants
        gets all grants including grant suggestions

PUT 
    /api/admin/:id
        updates a grant

DELETE
    /api/admin/:id
        removes a grant

DELETE
    /api/admin/suggestion/:id
        removes a specific suggestion

GET
    /api/grants/grants
        gets all grants including grant suggestions

GET
    /api/grants/:id
        gets a specific grant

POST
    /api/grants/
        posts a new grant

POST
    /api/grants/suggestion
        posts a new suggestion