---
title: "Discussion on \"Step 2:  Signup And Loging In Users\" | Hashnode"
description: "Discussion on \"Step 2:  Signup And Loging In Users\". create a user validation file: create a validation folder at the root directory, and create a file user.js for validating user information.\nconst Joi = require(\"joi\");\n\nconst UserSignUp = Joi.object({\n  firstname: Joi.string().max(255).trim().require..."
url: "https://hashnode.com/posts/step-2-signup-and-loging-in-users/63bb0b1ef28605f8512620c1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Step 2: Signup And Loging In Users](https://proton-code-blog.hashnode.dev/step-2-signup-and-loging-in-users?utm_source=hashnode&utm_medium=feed)

create a user validation file: create a validation folder at the root directory, and create a file user.js for validating user information. const Joi = require("joi"); const UserSignUp = Joi.object({ firstname: Joi.string().max(255).trim().require...

Jan 8, 2023 · 3 min read · proton-code-blog.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[yusuf habib](https://hashnode.com/@Proton2Limitless)

@Proton2Limitless · Kano, Nigeria

  
[View profile](https://hashnode.com/@Proton2Limitless)

i am a backend engineer

I am a backend engineer who specialize serving APIs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
