Skip to content

Instantly share code, notes, and snippets.

@anilsingh4580
anilsingh4580 / passwordRegex.js
Created September 14, 2019 10:10 — forked from HarishChaudhari/passwordRegex.js
Password validation RegEx for JavaScript
/**
* Password validation RegEx for JavaScript
*
* Passwords must be
* - At least 8 characters long, max length anything
* - Include at least 1 lowercase letter
* - 1 capital letter
* - 1 number
* - 1 special character => !@#$%^&*
*
@anilsingh4580
anilsingh4580 / node-folder-structure-options.md
Created July 14, 2019 23:31 — forked from lancejpollard/node-folder-structure-options.md
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin