Skip to content

Base for website authentication mechanism + account settings

Notifications You must be signed in to change notification settings

akatsay/Authentication-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-base

Base for website authentication mechanism + account settings

To deploy and test on local machine do the following:

  1. In the command line after changing directory to the folder of your preference run: "git clone https://github.com/akatsay/Authentication-base.git"
  2. Create mongodb data cluster
  3. In the root folder create file and name it .env and fill it according to the template below
  4. Run script: "npm i"
  5. Run script: "npm run client:install"
  6. Run script: "npm run dev" in the command line
  7. Enjoy! :)

env file template:

DEV_PORT="5000" // whatever port you prefer to use to run apps on your local machine 
JWT_SECRET="Whatever" // it can be any text you want it to be 
MONGO_URL="..." - /* after creating mongodb cluster: 
click connect -> drivers -> choose node.js 4.1 or later -> below you will see a link, copy and paste it in this 
env field, make sure to fill <password> placeholder in this link with your mongodb password
/*

About

Base for website authentication mechanism + account settings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published