Skip to content

Pharmacy API connection through PassportJS authentication with sqlite db based on user role access using NodeJS

Notifications You must be signed in to change notification settings

aashikkk/Pharmacy-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pharmacy-API

Setup the project

  • In the project directory, type npm install to install and initiate the modules.
  • Import the Postman/Pharmacy.postman_collection.json to Postman to check endpoints
  • To check the user role access, copy username and password from dummydate to login (users table).

Project Requirements

  • Node v18
  • Can check other dependencies and version in package.json

Note

  • Session Timeout set as 200s. As per your configuration, you can configure.
  • Here for further password encryption can use bcrypt to encrypt. but per project requirements and considering the time password typed without encryption.

About

Pharmacy API connection through PassportJS authentication with sqlite db based on user role access using NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published