Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 1.73 KB

README.rst

File metadata and controls

80 lines (52 loc) · 1.73 KB

Notejam: Express

This repo is a fork from https://github.com/komarserjio/notejam. It adds CI/CD to deploy notejam into multiple environments, whose infrastructure is orchestrated via Terraform.

Notejam is an application implemented using Express.js microframework.

Express version: 4.2

Middlewares/extentions used:

Installation and launching

Cloning

Clone the repo:

$ git clone https://github.com/binte/notejam.git YOUR_PROJECT_DIR/

Install environment

Use npm to manage dependencies.

Install dependencies

$ cd YOUR_PROJECT_DIR/expressApp
$ npm install (or npm ci)

Create database schema

$ cd YOUR_PROJECT_DIR/expressApp
$ node db.js (or run db)

Launch

Start built-in web server:

$ cd YOUR_PROJECT_DIR/expressApp
$ node ./bin/www (or run start)

Go to http://127.0.0.1:3000/ in your browser

Running unit tests

Run unit tests:

$ cd YOUR_PROJECT_DIR/expressApp
$ ./node_modules/mocha/bin/_mocha tests (or run test)

Contribution

Please send your pull requests in the master branch.