Skip to content
AmirwixaPublic

About

for shadow banned check

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter TimelineTerminationBan Test

API and testing logics for #TimelineTerminationBan

Based on https://github.com/danielfsousa/express-rest-es2017-boilerplate/

Requirements

Getting Started

Install dependencies:

npm i

Set environment variables:

cp .env.example .env

Running Locally

npm run dev

Running in Production

npm run start

Lint

# lint code with ESLint
npm run lint

# try to fix ESLint errors
npm run lint:fix

# lint and watch for changes
npm run lint:watch

Test

# run all tests with Mocha
npm run test

# run unit tests
npm run test:unit

# run integration tests
npm run test:integration

# run all tests and watch for changes
npm run test:watch

# open nyc test coverage reports
npm run coverage

Validate - runs at pre-commit

# run lint and tests
npm run validate

Logs

# show logs in production
pm2 logs

Documentation

# generate and open api documentation
npm run docs

Docker (might not work, yet)

# run container locally
npm run docker:dev

# run container in production
npm run docker:prod

# run tests
npm run docker:test

About

for shadow banned check

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages