npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-angular-spring

v0.0.21

Published

(Java Spring MVC + AngularJS)/Tomcat Yeoman generator

Downloads

5

Readme

angular-spring generator

Build Status Dependency Status

Getting Started

What is angular-spring generator?

I realized I usually spend more time removing all the unecessary libraries and extra stuff when I use existing generators, so here is a lightweight and clean generator to bootstrap a project which doesn't require lunar load balancing, 64 clustered oracle instances and 782 hadoop nodes (you can add that yourself afterwards!).

angular-spring generator is a Yeoman generator which create a solid base project using Java Spring MVC & AngularJS and can be quickly deployed on Tomcat. The following tools will be included Maven, Grunt & Bower.

IF YOU WISH, the generator can add extra stuff like: FontAwesome and AngularStrap. (@TODO: Compass, WebSocket)

The AngularJS style is based on @john_papa style guide

If you do not have Yeoman on your computer, please install it first using the command below:

npm install -g yo

Use angular-spring generator

Install

To install the generator you can use npm

npm install -g generator-angular-spring

You can also clone the project and link it to your local npm

git clone https://github.com/madtrax/generator-angular-spring.git && cd ./generator-angular-spring && sudo npm link

Launch

Finally, launch the generator:

yo angular-spring

Generated application Build Status

Start application

Once you ran the generator, execute the following commands to compile and run the web application.

Install dependencies:

npm install && bower install

Start:

grunt && mvn tomcat7:run

Once everything is done you can open you web browser: http://localhost:8080/your-project-name/

Image

You can find a sample of generated application here.

Folder structure

The application folder structure before running grunt and bower should be:

├── Gruntfile.js
├── README.md
├── bower.json
├── package.json
├── pom.xml
└── src
    └── main
        ├── java
        │   └── com
        │       └── mycompany
        │           └── myapp
        │               ├── controller
        │               │   └── ApplicationController.java
        │               └── service
        │                   └── ApplicationService.java
        ├── resources
        │   ├── log4j2.xml
        │   └── spring
        │       ├── application-config.xml
        │       └── mvc-config.xml
        └── webapp
            ├── app
            │   ├── app.js
            │   ├── components
            │   │   ├── core
            │   │   │   └── directives
            │   │   │       └── directives.js
            │   │   └── main
            │   │       ├── controllers
            │   │       │   └── main.js
            │   │       └── services
            │   │           └── main.js
            │   ├── config.js
            │   └── routes.js
            ├── config
            │   └── config.properties
            ├── index.html
            ├── style
            │   └── style.css
            ├── templates
            │   ├── header.html
            │   └── main
            │       └── main.html
            └── web.xml

22 directories, 22 files

Contributions are welcome

There is many improvements that can be done for this project, feel free to contribute.

License

Apache 2.0