Skip to content

Amirwixa/first-try

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published