cyntaria / ConstructionERP-Backend

A REST API backend system for the construction ERP software made with NodeJS
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

As a on-site manager, I should be able to log in, so that I can access the features of this ERP #17

Open arafaysaleem opened 3 years ago

arafaysaleem commented 3 years ago

Summary

As a on-site manager, I should be able to login, so that I can access the features of this ERP

Acceptance Criteria

GIVEN a on-site manager is logging in in the mobile app WHEN the app hits the auth/login endpoint with a valid request, containing:

THEN the app should receive a status 200 AND in the response, the following information should be returned:

Sample Request/Sample Response

headers: {
    error: 0,
    message: "..."
}
body: {
    first_name: "...",
    ...
}

Resources

Dev Notes

{Some complementary notes if necessary}

Testing Notes

{notes for QA, with examples if applicable}