Giter Site home page Giter Site logo

generator-spa's Introduction

generator-SPA

This generator has been built for the designer looking to build interactive wireframes quickly. It includes a Node/Express server instance for working AJAX requests.

Getting Started

This is a non-sanctioned generator for the moment. First, make sure you have Yeoman, Bower, and Grunt installed. Create or cd into your local dev directory, ~/dev for instance, then clone the repo:

$ git clone https://github.com/1Copenut/generator-SPA.git

cd into the generator-SPA directory and create the symbolic link. This command may require you to run as sudo.

$ cd generator-SPA && npm link

Make a new directory and run the generator

The previously created symbolic link means you can create a new directory anytime and run the generator. This command may require you to run as sudo.

$ mkdir newname && yo SPA

Fire up Express, and you’re off

After the generator is done creating files, typing the line below will start an Express server instance and open a new browser window in Chrome automatically.

$ grunt server

Big Thank You

Rebecca Murphey was gracious enough to post her entire repo for the Writing Testable Javascript article, which I used to structure my test directory and all of the Require.js plumbing. I encourage everyone to read and study both the article and code--they will change the way you think about Javascript and testing.

License

MIT License

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.