CYCBrian / 21-Book-Search-Engine-RestfulAPI-to-Graphql-Refactoring

Taking a fully functioning Google Books API search engine built with a RESTful API, and refactor it to be a GraphQL API built with Apollo Server. The app was built using the MERN stack, with a React front end, MongoDB database, and Node.js/Express.js server and API.
MIT License
0 stars 0 forks source link

back-end - auth.js #1

Open CYCBrian opened 6 months ago

CYCBrian commented 6 months ago

Update the auth middleware function to work with Graphql API

CYCBrian commented 6 months ago

Accidently did all the changes in main branch, it wasn't until I committed the code that I realized. Woops.

CYCBrian commented 6 months ago

For auth, need to figure out if i should just return the request or send to next endpoint.