Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 528 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 528 Bytes

Getting Started

  1. Clone the repository to your local machine:

    git clone https://github.com/harsh661/mern-auth.git
  2. Change into project directory

    cd mern-auth
  3. Install dependencies

    npm install
  4. Rename .env-example to .env and add following content:

    NODE_ENV=development
    PORT=5000
    MONGODB_URI=your-mongodb-connection-string
    JWT_SECRET=your-secret-key
  5. Start server:

    npm run devStart