New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-jhipster-nodejs

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-jhipster-nodejs

A NodeJS blueprint that creates the backend using NodeJS with NestJS framework

  • 1.0.0-alpha.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

generator-jhipster-nodejs

NPM version Build Status Dependency Status Gitter Downloads

🛠 Mode: Just Released :smile_cat: :smile_cat: :smile_cat:

Generator-jhipster-nodejs, the official NodeJS blueprint that uses NestJS Typescript Framework for your backend. We encourage you to use it and give us your feedback.

Greetings, nodejs Hipster!

This project adds nodejs for your backend, all typescript files generation, not JAVA!, to the JHipster application 😎. It is based on JHipster Blueprint 🔵, that is meant to be used in a JHipster application.

The generator applies this standard configuration for the nodeJS app:

  1. NestJS base app with web controllers, swagger doc and jwt passport auth services
  1. The app starts with four seed users (admin, basic user and anonymous roles), as standard jhipster monolithic app, with SQLite for dev and configurable sql db for prod
  1. The app uses typeORM and asks you a question if you don't want SQLite database in prod mode but using onother sql db
  1. TypeORM is also used for the automatically migration and versioning of the database scripts
  1. The app runs also as a full stack app including, for the monolitich choise, the angular/react client with the home page set for NHipster and CRUD operations for entity generated with subgenerator and jdl import

A generated example app is here

Prerequisites

As this is a JHipster blueprint, we expect you have JHipster and its related tools already installed:

🚀 How to get started

  1. Make sure you have followed the JHipster installation guide and that both yeoman and jhipster are installed.
  2. Install the package with npm install -g generator-jhipster-nodejs
  3. And generate the application with jhipster --blueprint nodejs

Installation Details

With NPM

To install this blueprint:

npm install -g generator-jhipster-nodejs

To update this blueprint:

npm update -g generator-jhipster-nodejs

With Yarn

To install this blueprint:

yarn global add generator-jhipster-nodejs

To update this blueprint:

yarn global upgrade generator-jhipster-nodejs

🚦 What we have now

✅ General App generation

  • jhipster --blueprint nodejs

✅ Controller generation

  • jhipster spring-controller <controller-name> --blueprint nodejs

✅ Entity generation

  • jhipster entity <entity-name> --blueprint nodejs

✅ JDL Entity model support generation

  • jhipster import-jdl my_file.jdl --blueprint nodejs

For the last, in the examples-jdl there are some examples of jdl models.

Please attention that SQLite does not support enum

❤️ For community

Found an issue, check if is already opened or closed, otherwise open a new feature or bug.

Interested in contributing, check out our contributing guide to get started.

Refers for contribution to roadmap or to kanban board.

Any questions Angelo Manganiello.

Contributors ✨

Thanks goes to these wonderful people:

Angelo Manganiello (founder stream lead)
Angelo Manganiello
(founder stream lead)
Hadi Rasouli
Hadi Rasouli
Iván García Sainz-Aja
Iván García Sainz-Aja
Daniel Franco
Daniel Franco

License

Apache-2.0 © Angelo Manganiello

Keywords

FAQs

Package last updated on 11 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc