Structure Web Application Framework
Go to file
Alice Gaudon cdf95c0c0b Add has and require methods to Extendable 2021-05-13 15:58:41 +02:00
assets Convert errors pages to svelte 2021-05-13 15:55:56 +02:00
config Reorganize config params and use view.cache for caching instead of view.dev 2021-04-27 15:08:41 +02:00
scripts Add two step pre-compile/compile asset processing 2021-05-04 17:14:32 +02:00
src Add has and require methods to Extendable 2021-05-13 15:58:41 +02:00
test Reorganize frontend tests and add more $locals tests 2021-05-12 14:48:45 +02:00
.eslintrc.cjs Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
.gitignore Switch to esm and add import auto format 2021-05-03 20:52:52 +02: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 esm: fix jest not running 2021-05-12 14:33:18 +02:00
package.json esm: fix jest not running 2021-05-12 14:33:18 +02:00
rollup.config.js Remove unnecessary svelte preprocess plugin from rollup 2021-05-11 15:08:10 +02:00
tsconfig.frontend.json Add two step pre-compile/compile asset processing 2021-05-04 17:14:32 +02:00
tsconfig.json Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
tsconfig.svelte.json Add two step pre-compile/compile asset processing 2021-05-04 17:14:32 +02:00
tsconfig.test.json Fix indent on tsconfig files 2021-04-27 15:44:04 +02:00
yarn.lock esm: fix jest not running 2021-05-12 14:33:18 +02: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