Skip to content

lern-edu/lern

Repository files navigation

Lern Logo

Lern

Tech Stack:

Languages

  • ES6 Javascript (.js)
  • React Javascript (.jsx)

_Styleguides:_ [Airbnb](https://github.com/airbnb/javascript)
_Linter:_ JSCS

Recomended editor: Atom

  • Packages:
    • language-babel
    • linter
    • linter-jscs

System Views

  • Admin
  • School
  • Teacher
  • Student

Convention Highlights

  • Global names should be PascalCased
  • Imported and exported variables should be PascalCased
  • Instance and variables should be camelCased
  • Logic should be divided by the four sytem views
  • Only top level view should fetch data
  • Route name should match top level component name
  • File name should match component name

NPM run

  • start: Start meteor with settings on port 3000 with configured locales
  • debug: Start meteor with settings on port 3000 with configured locales with debug console
  • test: Run test once for selected package, results on console
    • Example: npm run test packages/lern-check
  • test-watch: Run test live for selected package on web view in localhost:3100
    • Example: npm run test packages/lern-check
  • jsdoc: Create documentation using jsdoc.json configuration

Private packages