Git Product home page Git Product logo

mimosa-browserify-hapi-angular's Introduction

mimosa-browserify-hapi-angular

My preferred Node.js application setup:

  • Mimosa: munges the javascripts together, runs Hapi.
  • Hapi: clean Node.js Web application framework.
  • AngularJS: Client-side Model-View-Whatever (MVW) framework.
    • Angular UI Router
    • Angular UI Bootstrap
  • Browserify: CommonJS-style imports for the client.
  • Bootstrap: CSS for developers who don't do CSS.
    • Font Awesome

Live Reload

Live reload works, but you will need to use the Chrome extension.

Testing

Unfortunately, testing is a real mess right now largely due to incompatibilities between Karma and Browserify. The current version of the karma-browserify project uses an older version of the Browserify library. There's a known issue regarding the way karam-browserify uses an old feature of Browserify that breaks the test harness. I also suspect the use of aliases is also not supported (discovered during my initial experimentation). When I get some time, I'm going to try to dig into both frameworks to see if I can find a work around.

mimosa-browserify-hapi-angular's People

Contributors

rclayton avatar

Stargazers

Daichi Kimura avatar

Watchers

 avatar

mimosa-browserify-hapi-angular's Issues

Not using the port

Looks like you set one up but don't use it.

port = process.env.PORT or config.server.port
server = new Hapi.Server 'localhost', 3000

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.