Giter VIP home page Giter VIP logo

jwt-mern-fullstack's Introduction

Creating a Full Stack MERN Application using JWT Authentication

Cover Pic

Introduction

This repository contains the step by step procedure based on the commits to build the Full Stack MERN Application using JWT Authentication, which is described by the three parts article:

Requirements

System Requirements

You should be having these minimum requirements in your system to start working on the project.

Development Requirements

If you are planning to contribute or recreate this repository, you should be having the following in your system to start the development.

Installation & Running

Installation

First clone this repository to your local machine.

There are two parts in the repository, which you might need to run.

Server

To use the server, navigate to the server directory, install the dependencies using:

$ cd server
$ npm install

Client

To use the client, navigate to the client directory, install the dependencies using:

$ cd client
$ npm install

Running the Application

You have to run two processes, each for the server and the client. Make sure you have two terminal processes running for the same.

Server

$ cd server
$ npm start

Client

$ cd client
$ npm start

If you need HTTPS in development, use:

$ cd client
$ HTTPS=true npm start

If you would like to run in production mode for the client, use:

$ cd client
$ PORT=80 npm run start:production

If you need HTTPS, use:

$ cd client
$ HTTPS=true PORT=443 npm run start:production

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.