Skip to content

Basic UI and Authentication Template Using MERN Stack Web Development

Notifications You must be signed in to change notification settings

Sayan3990/UI-Auth-Template-Using-MERN

 
 

Repository files navigation

UI-Auth-template-Using-MERN

Logo

Installation

  • Download or clone the repo into your local directory from Here
  • Make sure that you have node installed in your computer or Install Node
  • Inside the local directory here you have downloaded this repo, open your terminal
  • Run this command inside root and root/client directory to download dependencies for this project
      npm install
  • Add config.env file in root directory
      PORT=`Port Number`
      MONGO_URI=`MongoDB Url`
      JWT_SECRET=`JWT Secret Token`
      JWT_EXPIRE=`JWT Session expire time`
      EMAIL_SERVICE=`Service Provider Name`
      EMAIL_USERNAME=`apikey`
      EMAIL_PASSWORD=`Email Password`
      EMAIL_FROM=`Email Address`
  • In root directory run command to start server
      nodemon server.js
  • Now we can run this site locally
  • To see the site in your localhost run this command in your terminal inside client directory
      npm start

Deployment

License

  • Distributed under the MIT License. See LICENSE for more information.

Contact

Hope this will be helpful for your next project

Thank you for visiting

Languages

  • JavaScript 94.8%
  • CSS 3.4%
  • HTML 1.8%