Creating Login and Registration Application Using NodeJS and MySQL!
Creating Login and Registration Application Using NodeJS and MySQL Creating Login and Registration Application Using NodeJS and MySQL rather than using any Programming Languages to interact with back-end databases, we are going to use ExpressJS which gives us very good flexibility over Node.js. To start with this application required following 1. NodeJS 2. ExpressJS 3. MySQL Install NodeJS $ npm install node Install ExpressJS $ npm install express --save Install MySQL $ npm install mysql--save Create a database by simply typing a command mysql> create database test; Check your database exist in your databases list simply type a command mysql> show databases; Choose the database to work around with select database by typing command mysql> use test; Create a users table in that database. To create a users table type command CREATE TABLE `users`(`id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` ...