Nostromos / what.ecom

PERN Ecom app for Codecademy's Full Stack path.
MIT License
0 stars 0 forks source link

Local Login #25

Open Nostromos opened 8 months ago

Nostromos commented 8 months ago

Add the logic for handling login using a username and password.

Passport.js is a popular library you can use to handle user authentication. Refer to this documentation for more information on how to configure the authentication strategy and set up your routes. An example login endpoint could look like this:

POST /login