Structure Web Application Framework
Go to file
Alice Gaudon d7d5aa8f97 Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
config Make svelte work 2021-03-24 16:07:50 +01:00
scripts Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
src Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
test TestApp: don't ignore commands by default 2021-03-26 10:44:12 +01:00
views Make svelte work 2021-03-24 16:07:50 +01:00
.eslintrc.js Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
.gitignore Add svelte pre-compilation 2021-03-18 16:22:25 +01:00
LICENSE Add license 2020-08-25 17:58:34 +02:00
README.md Rename project to swaf 2020-11-12 16:11:16 +01:00
jest.config.js Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
package.json Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
rollup.config.js Move svelte compilation to external rollup and add pre-compile-views cli 2021-03-26 10:56:32 +01:00
tsconfig.json Add svelte pre-compilation 2021-03-18 16:22:25 +01:00
tsconfig.test.json Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
tsconfig.views.json Make svelte work 2021-03-24 16:07:50 +01:00
yarn.lock Make svelte work 2021-03-24 16:07:50 +01:00

README.md

Structure Web Application Framework

A NodeJS TypeScript web application framework (duh).

/!\ Still in development! There are not near enough tests /!\

Use at your own risk. Also please feel free to contribute with issues, bug reports and pull requests.

Features

Application building

  • Model, View, Controller
  • Uses express
  • Custom Middleware classes that enable advanced modularity
  • Modular models (you can add components with some definition automation)
  • Simple database migrations (raw sql queries for now)
  • Nunjucks for the view template engine
  • Mail template system using Nunjucks + MJML
  • Beautiful logging thanks to tslog

Databases

  • MySQL (persistent data)
  • Redis (cache, session)
  • (more to come)

Common systems

  • Advanced modular multi-factor authentication system
  • CSRF protection
  • WebSocket server with Controller-style endpoint listeners
  • WIP: automatic updates