Closed dangvuthang closed 2 years ago
close #25
Enter the issue number with #
What is this PR about? Introduce services resources
Guard
authentication
authorization
/services
PaperMaker
/auth/login
npm install
npm start
services
Refer to documentation in postman for endpoint for more detail
POST: /auth/login POST: /auth/register GET: /services POST: /services PATCH: /services/offeredServiceId DELETE: /services/offeredServiceId
/auth/register
/services/offeredServiceId
Close Issue
close #25
Enter the issue number with #
Summary
What is this PR about? Introduce services resources
Changelog
Guard
to handleauthentication
andauthorization
user/services
endpoint to handle CRUD operationPaperMaker
schema and set default value for some fields/auth/login
to handle login for papermaker or adminHow to test
npm install
on both FE and BE directorynpm start
on root directoryservices
folder and test all endpointTest endpoint
Refer to documentation in postman for endpoint for more detail
POST:
/auth/login
POST:/auth/register
GET:/services
POST:/services
PATCH:/services/offeredServiceId
DELETE:/services/offeredServiceId