Code Monkey home page Code Monkey logo

actionhero-mysql-objection-starter's Introduction

My actionhero Project

visit www.actionherojs.com for more information

To install:

(assuming you have node, TypeScript, and NPM installed)

npm install

To Run:

npm start

To Test:

npm test

React

I need JWT auth into my skeleton app. So I cloned react-redux-jwt-authentication-example and update to let it work with my codebase.

knex

npm run knex migrate:make create-users

Migration cheatsheet into knex/README.md

Eslint

I using tslint-microsoft-contrib converted to eslint with tslint-to-eslint-config. This project already have .eslint.rc file.

How I did this:

  1. install microsoft-contrib with npm install tslint-microsoft-contrib --save-dev and add config file tslint.json
{
    "defaultSeverity": "error",
    "extends": ["tslint:recommended", "tslint-microsoft-contrib/recommended"],
    "jsRules": {
      "no-unused-expression": true
    },
    "rules": {
      "quotemark": [true, "single"],
      "member-access": [false],
      "ordered-imports": [false],
      "max-line-length": [true, 150],
      "member-ordering": [false],
      "interface-name": [false],
      "arrow-parens": false,
      "object-literal-sort-keys": false,
      "no-submodule-imports": false,
      "export-name": false,
      "no-relative-imports": false
    },
    "rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
  }
  1. install tslint packages
npm i typescript tslint -D

and convert tslint config to eslint

npx tslint-to-eslint-config
  1. remove all packages that we don't need after converting:
npm remove typescript tslint tslint-microsoft-contrib -D

and remove files tslint-to-eslint-config.log and tslint.json

  1. remove rules for react a11y etc.

actionhero-mysql-objection-starter's People

Contributors

mmelnikau avatar pinkyrabbit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.