Skip to content

In this project, I have made a back-end of employee-registration form using Express framework of NodeJS. I have also used JWT-authentication token to verify the employee..

License

Notifications You must be signed in to change notification settings

vishalmajumdar95/Employee-Registration-in-Node-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee-Registration-in-Node-js

In this project, I have made a back-end of employee-registration form using Express framework of NodeJS. I have also used JWT-authentication token to verify the employee..


Task Details:

Lets make a Employee-Resgistration with only the restful API. A user should be able to do:

-Register using Email & Password & FirstNmae & LastName & Organization one more Employee_id
-Simple Login (email & password)
-See all users details 
-User can update details 
-User can Delete details 
-User can Search the details by FirstNmae & LastName & Employee_id 
-User can Get details sort by Email & Password & FirstNmae & LastName & Organization one more Employee_id

In this project I have used MySQL, Express, Body-Parser, Nodemon, Knex, Bcrypt, Dotenv, JsonWebToken.

Installation

NodeJs and NPM

$ sudo apt-get update 
$ sudo apt-get install curl 
$ sudo apt install build-essential apt-transport-https lsb-release ca-certificates curl 
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt install nodejs
$ sudo apt install npm

MYSQL

$ sudo apt-get update
$ sudo apt-get install mysql-server
$ sudo mysql -u root -p

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourpassword';

Package Installation

$ npm install 'package_name'

About

In this project, I have made a back-end of employee-registration form using Express framework of NodeJS. I have also used JWT-authentication token to verify the employee..

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published