Skip to content

tdm00/Project-Jellybean

Repository files navigation

Project-Jellybean

Purpose: to learn how to setup a CI/CD pipeline and a SPA that uses JWT for authentication.

Development Setup

Clone Repository to local system

Create local .env

  1. Make a copy of the .env.example file and save it as .env
  2. Edit the .env file, add a string to be used for the shared secret for signing the JSON Web Tokens

Install Node.js

  1. Download and install Node.js

Install Dependencies

  1. In the project directory perform a npm install

Start Development Server

  1. Execute the following command in the project directory DEBUG=myapp:* npm start

Execute Tests

  1. Execute the following command in the project directory npm test