
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ajgenesisnode-express
Advanced tools
AjGenesisNode Express tasks and templates, to generate web sites using Express. WIP.
Install Node.js.
Install latests version of AjGenesis for Node and Express modules as global modules:
npm install ajgenesis -g
npm install ajgenesisnode-express -g
In Linux, you should use sudo npm ...
to install global modules
In any working directory, create an application
mkdir myapp
cd myapp
ajg install express
ajg init
npm install
Edit ajgenesis/models/project.json
created by the above init command
project.json
{
"name": "myapp",
"title": "Myapp"
}
The created directory contains the seed of an Express 4.x application.
And there is a subdirectory ajgenesis
with:
ajgenesis/models
: where the free model files resideajgenesis/module
: verbs to run in express ajgenesis module, with libs and templatesajgenesis/modules
: additional ajgenesis modulesLet add some entities and propeties, using then entity
module (installed under ajgenesis/modules/entity
):
ajgenesis entity:add customer
ajgenesis entity:addproperty customer name
ajgenesis entity:addproperty customer address
ajgenesis entity:add supplier
ajgenesis entity:addproperty supplier name
ajgenesis entity:addproperty supplier address
Entity .json
files are added to ajgenesis/models/entities
folder. You can edit those file manually, instead
of relaying in auxiliary entity
module.
Generate the web site:
ajgenesis generate
The web site is generated in the current directory.
The site use MongoDB. Install it from here.
Start the site
npm start
The site is available in your browser using http://localhost:3000
.
npm install -g ajgenesis
git clone git://github.com/ajlopez/AjGenesisNode-Express.git
cd AjGenesisNode-Express
npm link ajgenesis
npm install
npm test
entity
module. Models in ajgenesis/models
build
Useful articles to use in development:
Feel free to file issues and submit pull requests � contributions are welcome.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test
continues to pass.
FAQs
AjGenesis for Node, Express tasks and templates
The npm package ajgenesisnode-express receives a total of 0 weekly downloads. As such, ajgenesisnode-express popularity was classified as not popular.
We found that ajgenesisnode-express 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.