Nostromos / what.ecom

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

User Registration Endpoint & Passportjs #24

Open Nostromos opened 5 months ago

Nostromos commented 5 months ago

Add the logic for handling registration of new users.

Registering a user is an important process in any app. Your registration process can use as much or as little data about the user as you’d like, but make sure to at least include an identifier such as a username as well as a password. Additionally, make sure to handle edge cases in your handler such as attempts to register users that already exist. An example endpoint for registration would look like the following:

POST /register