Structure Web Application Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Alice Gaudon dad4ff62f1 Version 0.24.10 2 months ago
config back/config: replace localhost with 127.0.0.1 2 months ago
scripts Make rollup available in dependant projects 2 months ago
src front/BaseTemplate: add facebook, twitter and generic url preview meta tags 2 months ago
test Add formatViewData to response object to fix tests and prepare for async navigation 2 months ago
.eslintrc.cjs Add specific tsconfig for eslint 2 months ago
.gitignore Move all sources to src folder, add common ts subproject 8 months ago
LICENSE Add license 1 year ago
README.md Rename project to swaf 1 year ago
jest.config.js back/config: replace localhost with 127.0.0.1 2 months ago
package.json Version 0.24.10 2 months ago
rollup.config.js Add fonts copy to rollup config 2 months ago
tsconfig.json Move route building to common subproject, fix Time export 8 months ago
tsconfig.test.json Fix indent on tsconfig files 9 months ago
yarn.lock Upgrade dependencies 2 months ago

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