Skip to content

franciscomcac/User-Registration-API-Endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

User-Registration-API-Endpoint

Implement a User Registration API Endpoint with JWT Authentication and Input Validation

A simple RESTful API built with Node.js and Express.js that allows users to register securely using JWT authentication and input validation.

Features

  • User registration with username, email, and password
  • Password hashing with bcryptjs
  • Input validation using express-validator
  • JWT token generation for authentication
  • MongoDB integration with Mongoose
  • Error handling and validation feedback

Getting Started

Prerequisites

  • Node.js and npm installed
  • MongoDB instance (local or cloud)

Installation

  1. Clone the repo:
    git clone https://github.com/yourusername/user-registration-api.git
    cd user-registration-api

About

Implement a User Registration API Endpoint with JWT Authentication and Input Validation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors