Skip to content

Instantly share code, notes, and snippets.

View exchai93's full-sized avatar

Emily Chai exchai93

View GitHub Profile
@cohenadair
cohenadair / node-setup.md
Last active October 15, 2023 12:19
How to quickly setup a Node.js REST API with Express, Mocha, and supertest.

tl;dr

  1. Download and install Node.js
  2. Download and extract the Sample Project
  3. In a Terminal window, navigate to the extracted folder
  4. Run npm install
  5. Run the app

Introduction

This guide is meant to be a very quick setup for a Node.js REST API. It will include links to each component if you'd like to read more.

Note that I use macOS, so the commands may be slightly different on a non-Unix machine.