All Projects → jhipster → Generator Jhipster Nodejs

jhipster / Generator Jhipster Nodejs

Licence: apache-2.0
A NodeJS blueprint that creates the backend using NodeJS

Labels

Projects that are alternatives of or similar to Generator Jhipster Nodejs

Nodetyped
Node.js Express Startup Seed with ES6, Typescript, SCSS, EJS, Nodemon, Bootstrap 4, TSLint, TypeDoc
Stars: ✭ 69 (-58.68%)
Mutual labels:  ejs
Dejs
ejs template engine for deno.
Stars: ✭ 99 (-40.72%)
Mutual labels:  ejs
Koa2 Blog
第一个web项目,仿照cnode,欢迎新建账号试用
Stars: ✭ 141 (-15.57%)
Mutual labels:  ejs
Quebradev.github.io
Site do podcast perifatécnico QuebraDev
Stars: ✭ 73 (-56.29%)
Mutual labels:  ejs
Root Config
Stars: ✭ 87 (-47.9%)
Mutual labels:  ejs
Bangajs
Bàngá is a CLI generator for scaffolding ExpressJS applications with speed and efficiency.
Stars: ✭ 102 (-38.92%)
Mutual labels:  ejs
Hexo Theme Volantis
A Wonderful Theme for Hexo https://volantis.js.org
Stars: ✭ 1,050 (+528.74%)
Mutual labels:  ejs
Weather 10kb Wxkb
Weather forecast that's high performance and accessible
Stars: ✭ 153 (-8.38%)
Mutual labels:  ejs
Poetries.github.io
博客,用于记录学习总结的地方。关注公众号「前端进阶之旅」,一起学习
Stars: ✭ 94 (-43.71%)
Mutual labels:  ejs
Hexo Theme Zhaoo
🐳 A simple theme for Hexo
Stars: ✭ 131 (-21.56%)
Mutual labels:  ejs
Template.js
A javascript template engine, simple, easy & extras, support webpack, rollup, parcel, browserify, fis and gulp
Stars: ✭ 1,201 (+619.16%)
Mutual labels:  ejs
Generator Jhipster Quarkus
Quarkus blueprint for JHipster
Stars: ✭ 85 (-49.1%)
Mutual labels:  ejs
Webpack Seed
🚀 A Multi-Page Application base on webpack and babel. webpack搭建基于ES6,支持模板的多页面项目
Stars: ✭ 113 (-32.34%)
Mutual labels:  ejs
Nodejs Koa Blog
基于 Node.js Koa2 实战开发的一套完整的博客项目网站
Stars: ✭ 1,162 (+595.81%)
Mutual labels:  ejs
Fake Store Api
FakeStoreAPI is a free online REST API that provides you fake e-commerce JSON data
Stars: ✭ 141 (-15.57%)
Mutual labels:  ejs
Egg View Ejs
egg view plugin for ejs.
Stars: ✭ 54 (-67.66%)
Mutual labels:  ejs
Ejs Compiled Loader
EJS loader for webpack (without frontend dependencies)
Stars: ✭ 102 (-38.92%)
Mutual labels:  ejs
Lib4dev
Find awesome libraries and make your development fast.
Stars: ✭ 165 (-1.2%)
Mutual labels:  ejs
Generator Jhipster Ionic
Ionic for JHipster 💥
Stars: ✭ 147 (-11.98%)
Mutual labels:  ejs
Generator Hexo Theme
Generate a hexo theme: ejs, pug, swig, nunjucks | Moved to https://tcrowe.commons.host/contact
Stars: ✭ 119 (-28.74%)
Mutual labels:  ejs

generator-jhipster-nodejs

NPM version Dependency Status Generator Build Status Generator Test Status Sonar Cloud Quality Gate Sonar Cloud Coverage Rate Sonar Cloud Reliability Rate Sonar Cloud Security Rate Sonar Cloud Maintainability Rate Sonar Cloud Duplicated Code Gitter Downloads

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.

Notes

For the features of the last release refers to CHANGELOG.md.

Demo

The UI is inherited from standard JHipster app client. So only backend generation changes. For this, a live app running is less useful than the code and the app structure shows in:

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:

  • 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. But from the 1.5.0 release you can choose mongodb that uses an embedded version for dev/test
  • The app uses TypeORM and asks you a question for another sql db or for mongodb
  • TypeORM is also used for the automatically migration and versioning of the database scripts
  • The app runs also as a full stack app including, for the monolitich choice, the Angular/React client with the home page set for NHipster and CRUD operations for entity generated with subgenerator and jdl import

A previous of a jwt auth app:

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 nhipster

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

This is a blueprint that is runnable by:

jhipster --blueprints nodejs

However, it also ships with an nhipster CLI that you can use as a shortcut.

✅ General App generation

  • nhipster

✅ Controller generation

  • nhipster spring-controller <controller-name>

✅ Service generation

  • nhipster spring-service <service-name>

✅ Entity generation

  • nhipster entity <entity-name>

✅ JDL Entity model support generation

  • nhipster import-jdl my_file.jdl

For the last, in the test-integration/samples/FOLDER_NAME-jdl there are some examples of jdl models.

Using Docker

  1. Download the Dockerfile:
mkdir docker
cd docker
wget https://github.com/jhipster/generator-jhipster-nodejs/raw/master/docker/Dockerfile
  1. Build the Docker images:
docker build -t jhipster-generator-nodejs:latest .
  1. Make a folder where you want to generate the Application:
mkdir app
cd app
  1. Run the generator image in one of the two following options.
  • Run the generator from image to generate service:
docker run -it --rm -v $PWD:/home/jhipster/app jhipster-generator-nodejs
  • Run and attach interactive shell to the generator docker container to work from inside the running container:
docker run -it --rm -v $PWD:/home/jhipster/app jhipster-generator-nodejs /bin/bash

🛠 Steps to develop a generator feature and test it

Shell steps:

$ git clone https://github.com/jhipster/generator-jhipster-nodejs.git
$ cd generator-jhipster-nodejs
$ git checkout -b feature/my-feature
$ npm install
$ npm link
$ cd ..
$ git clone https://github.com/jhipster/generator-jhipster.git
$ cd generator-jhipster
$ git checkout v6.8.0
$ npm install
$ npm link
$ cd ..
$ mkdir test-generation
$ cd test-generation
$ npm link generator-jhipster
$ npm link generator-jhipster-nodejs

Now you will develop under the generator-jhipster-nodejs that you have cloned with git. After finish, to generate the app and check your feature, run in test-generation folder:

  • nhipster

❤️ 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.

Refer 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
Ed Pham
Ed Pham

Special Thanks

License

Apache-2.0 © Angelo Manganiello

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].