Skip to content

Authentication with reactjs, node rest api and jwt

License

Notifications You must be signed in to change notification settings

disalad/mern-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

Built With

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • nodejs >= 14.17.6
  • npm >= 6.14.15

Installation

  1. Clone the repo

    git clone https://github.com/disalad/mern-auth.git
  2. Install NPM packages for both client and server

    npm install
  3. Enter your access token and port in an enviroment file inside server directory.

    JWT_ACCESS_TOKEN = ENTER ACCESS TOKEN
    PORT = ENTER YOUR PORT NUMBER
  4. Change the "proxy" in client -> package.json before you start the react app.

  5. Start both client and server in a development server

    npm start

License

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

Contact

Project Link: https://github.com/disalad/mernauth

Releases

No releases published

Packages

No packages published