Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
ngx-hipster
Advanced tools
Angular schematics to scaffold production ready angular material applications
You can try out demo application at https://vishal423.github.io/ngx-hipster/index.html (login with username: admin
and password: admin
to access the protected pages)
Demo application uses angular in-memory-api to intercept all back-end api calls.
This guide assumes that you have already created a new angular cli application with SCSS
styles.
ng new sample-angular-app --interactive=false --prefix=app --style=scss --routing=true
Install ngx-hipster
dependency in your project. Default ng-add
schematic will prompt to configure your application with the recommended setup.
ng add ngx-hipster
JHipster
session authentication.prettier
Jest
proxy
Create
, Update
, and List
(and Delete
dialog) screens.json
file to describe your entity structure and place that in the project root directory. As an example, consider the following entity.json
that represents the structure of a movie
entity. For a more elaborate example, refer to the movie.json
used in the demo application.{
"name": "movie",
"pageTitle": "Movies",
"fields": [
{
"label": "Title",
"name": "title",
"dataType": "string",
"controlType": "text",
"validation": {
"required": true,
"minlength": 2,
"maxlength": 20
}
},
{
"label": "Plot",
"name": "plot",
"dataType": "string",
"controlType": "textarea",
"validation": {
"minlength": 100
}
},
{
"label": "Genre",
"name": "genre",
"dataType": "string",
"controlType": "radio",
"validation": {},
"options": [
{
"name": "adventure",
"label": "Adventure"
},
{
"name": "drama",
"label": "Drama"
},
{
"name": "sci-fi",
"label": "Science Fiction"
}
]
},
{
"label": "Release Date",
"name": "releaseDate",
"dataType": "date",
"controlType": "date",
"format": "MM/dd/yy",
"validation": {}
}
]
}
$ ng g ngx-hipster:entity
? Provide relative path to the entity Json filename movie.json
MIT © Vishal Mahajan
[0.7.0] - 2020-05-03
e2e
tests to verify the application layout and login support (Session
and OIDC
).e2e
tests to verify the entity Create
, List
, Update
and Delete
flows.v9.1
.proxy
schematic.jest
, prettier
, husky
, angular material
library dependencies.FAQs
Angular schematics to scaffold angular material applications
The npm package ngx-hipster receives a total of 1 weekly downloads. As such, ngx-hipster popularity was classified as not popular.
We found that ngx-hipster demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.