atlp-rwanda / knights-ecomm-be

Knights ecommerce backend APIs
https://knights-ecomm-be-lcdh.onrender.com
0 stars 0 forks source link

google authentication #84

Closed GSinseswa721 closed 5 months ago

GSinseswa721 commented 6 months ago

What does this PR do?

This PR is all about Google OAuth authentication for user sign in.

It configures Passport.js to utilize the Google OAuth strategy, allowing users to log in using their Google accounts.

Description of Task to be completed

Configuring Passport.js with Google OAuth strategy. Implement routes for Google sign-in and callback handling. Authenticate users using Google profile information.

How should this be manually tested?

npm run dev
coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 9156518173

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/UserRoutes.ts 8 15 53.33%
src/utils/auth.ts 9 41 21.95%
<!-- Total: 38 77 49.35% -->
Totals Coverage Status
Change from base Build 9126248158: -3.1%
Covered Lines: 1005
Relevant Lines: 1188

💛 - Coveralls
faid-terence commented 6 months ago

@GSinseswa721 resolve the conflict and tests are decreasing !