Code Monkey home page Code Monkey logo

mithril-starter-kit's Introduction

#Mithril Starter Kit

Starter kit for building web apps and pages with Mithril - a lightweight and lightspeed fast MVC framework (https://github.com/lhorie/mithril.js).

Mithril approach is strongly based on functional programming so I think you'd like to have a functional toolbelt around. Lodash is included by default (https://lodash.com/).

Project build and development processes are powered by Grunt and Bower takes care of package management. Grunt tasks include:

  • Babel ES6 transpiling toolset which lets you write modern javascript today.
  • Autogenerating documentation from your comments
  • Checking your js code quality against google styleguide
  • and bunch of basic things to get you up and running

Before installation please review Gruntfile.js as it's the heart of your project workflow. Structure and tasks are opinionated and based on my practice, however none of them is mandatory - tweak it for your own needs if you wish. Mirror your changes in package.json to avoid downloading dropped dependencies.

Small addition is a CSS toolset with included reset, vertical rhythym and set of atomic classes that I often use (so my css feels also functional)

Installation

You should have node.js installed on your computer.

Start your project:

  • clone this repository
  • run from terminal:
    • npm install (with sudo on unix if needed)
    • bower install
    • grunt

Project should be bootstraped. To make sure all is good run your first test from test dir.

Last but not least. This is just a compilation of existing tools really so big THX goes to all developers and contributors behind them!

mithril-starter-kit's People

Contributors

makibm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mrister

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.