evan-duncan / itasca

A minimal MVC web framework for solo devs and productive teams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Itasca

A simple MVC framework to be productive.

Itasca is an express library designed to focus on writing your app and not worrying about the app structure. Itasca embraces convention over configuration.

Getting Started

Usage

Your entrypoint file can tell itasca to run.

// index.js
const itasca = require('itasca');

itasca.run().catch(e => {
  console.error(e);
  process.exit(1);
});

You application should have a config/application.js, and config/environments/{development, test, production}.js. These files will serve as the main configuration for itasca. If you do not include them defaults will be used.

// config/application.js

module.exports = (config) => {
  // Initialize defaults for generated Itasca version
  config.loadDefaults('0.1');
  
  // Settings in config/environments/* take precedence over those specified here.
}
// config/environments/development.js

module.exports = (config) => {
  config.logLevel = 'debug';
}

CLI

License

MIT © 2022 Evan Duncan

About

A minimal MVC web framework for solo devs and productive teams

License:MIT License


Languages

Language:JavaScript 100.0%