# generator-spring-magic

> Yeoman generator for creating very basic web application with Spring MVC and Tomcat

Latest version **0.1.1** (published 2019-05-24) · 0 weekly downloads

## Install

```sh
npm install generator-spring-magic
pnpm add generator-spring-magic
yarn add generator-spring-magic
bun add generator-spring-magic
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-05-24 |
| First published | 2019-05-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 66.6 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bishal Gautam |
| Maintainers | bishalg |
| Keywords | yeoman-generator, yeoman-generator-spring-magic, spring-boot, Java, Maven, spring-magic |

## Links

- npm: https://www.npmjs.com/package/generator-spring-magic
- Repository: https://github.com/bsalgautam16/generator-spring-magic
- Homepage: https://github.com/bsalgautam16/generator-spring-magic#readme
- Issues: https://github.com/bsalgautam16/generator-spring-magic/issues
- npm.io page: https://npm.io/package/generator-spring-magic

## Dependencies (4)

- [ejs](https://npm.io/package/ejs.md) 2.6.1
- [chalk](https://npm.io/package/chalk.md) 2.4.2
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) 3.2.0
- [yeoman-environment](https://npm.io/package/yeoman-environment.md) 2.3.4

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-05-24
- 0.1.0 — 2019-05-23

## README

# generator-spring-magic
Yeoman generator for creating very basic web application with Spring MVC and Tomcat.
#### Create a basic spring web application in just 2 seconds !! 



## Prerequisites
   - npm (https://www.npmjs.com/get-npm)
   - yo  (just run: `npm install -g yo`)
   


## Installing spring-magic
`generator-spring magic` can be installed from npm, running following commad (after having all prerequisites in machine):

```
npm install -g generator-spring-magic
```

## Uses
### Quick set-up spring-boot web application ( 2 seconds [magic])
we can trigger generator to generate basic spring-boot web application with following command:

```
yo spring-magic [your-app-name]
```

By doing this, `spring-magic` will generate a spring web project with following properties:
project name: `[your-app-name]`
base name (artifact-id): `[your-app-name]`
goup-id:`com.example.[your-app-name]`

Suppose, if `[your-app-name]` is `magic`, then it will instantly generate spring-boot web project will following structure:

```
-- magic
    |-- pom.xml
    `-- src
        |-- main
        |   |-- java
        |   |   `-- com
        |   |       `-- example
        |   |           `-- magic
        |   |               `-- DemoApplication.java
        |   `-- resources
        |       |-- application.properties
        |       `-- static
        |           `-- index.html
        `-- test
            `-- java
                `-- com
                    `-- example
                        `-- magic
                            `-- DemoApplicationTests.java

```

### Set-up spring-boot web application answering 2 questions [magic]
we can generate spring-boot web application with few propeties provided by user with following command:

```
yo spring-magic
```

By doing this, `spring-magic` will ask you following questions:
1. What is the name of your project (or artifact)?
2. What is your group Id for your package?
Based upon our answer, it will generate spring-boot web application with mentioned properties.


After project generation, open it with intelliJ and build and run the project. 
If everything goes well, we will see a running web application at: `http://localhost:8080/`

##### Thanks for reading. Any suggestion and/or improvement are highly welcome !!

---
_Source: https://npm.io/package/generator-spring-magic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
