/express.css

express.css server side language

Primary LanguageTypeScriptMIT LicenseMIT

express.css

An express server powered by css

Examples

Server configuring

server {
  port: 3000;
}

Routing

/* GET / */
route {
  message: 'Server running!';
}

/* GET /status */
route.status {
  message: 'Server status';
}

/* GET /status/me */
route.status.me {
  message: 'My status';
}

/* POST /user */
route.user::post {
  message: 'User page';
}