Skip to content

travislang/ledger-server

Repository files navigation

Ledger Server

Build Status Coverage Status Github license

Ledger logo

Features

Requirements

Getting Started

Initialize project

# Clone the repo
git clone https://github.com/travislang/ledger-server.git
cd ledger-server

# install dependencies
npm install

# set enviornment variables
cp .env.example .env

Running Locally

npm run dev

Running in Production

npm start

Lint

# lint code with ESLint
npm run lint

# try to fix ESLint errors
npm run lint:fix

Testing

# run all tests with Mocha
npm run test

# run unit tests
npm run test:unit

# run integration tests
npm run test:integration

# open nyc test coverage reports
npm run coverage

Validate

# run lint and tests together
npm run validate

Docker

You need to have Docker installed on your system to run docker locally

# run container locally
npm run docker:dev

# run container in production
npm run docker:prod

# run tests
npm run docker:test

License

MIT License - Travis Lang

About

API for Ledger app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published