-
the final file structure is:
root directory: testproject_liv app.js: testproject_liv/app.js session_tokens.json: testproject_liv/session_tokens.json credentials.json: testproject_liv/credentials.json validate.js: testproject_liv/public/js/validate.js signupPage.html: testproject_liv/public/signupPage.html loginPage.html: testproject_liv/public/loginPage.html welcomePage.html: testproject_liv/public/welcomePage.html index.html: testproject_liv/public/index.html passwordUtil.js: testproject_liv/utils/passwordUtil.js sessionTokenUtil.js: testproject_liv/utils/sessionTokenUtil.js login.js: testproject_liv/routes/login.js signup.js: testproject_liv/routes/signup.js welcome.js: testproject_liv/routes/welcome.js -
The built-in
cryptomodule in Node.js to generate a hash value of the password received from the user in the login form.- use of salt value.
-
email and password validators must be used in script tag of the form page
-
only one entry is allowed all the time in the
credentials.jsonfile. -
session management
-
check for the empty port, in case
3000is engaged.
-
Use
credentails.txtinstead ofcredentials.json. -
expire the session when browser gets closed or service(tool) stops. How will we check if the browser is closed?
-
setup the environment using scripts
-
make installer
-
integrate core functions
-
delete the session file when sever restarts or closes
-
include the java files in the installer, explicitely
Plan the installer: Before you begin creating the installer, you should plan out the various components that will be included in the installation package, such as the application files, dependencies, registry entries, shortcuts, etc.
Create the installer package: Using your chosen installer creation tool, create the installer package by specifying the files and settings that need to be included.