GitXplorerGitXplorer
R

napd

public
30 stars
4 forks
8 issues

Commits

List of commits on branch master.
Verified
20c235c7ac8005600e7289f027df869f80ff80d1

Merge pull request #7 from RafaelGSS/dependabot/npm_and_yarn/lodash-4.17.21

RRafaelGSS committed 2 years ago
Verified
ecfd7949779f53b7b2c05df36510ef582b126c2c

chore(deps): bump lodash from 4.17.19 to 4.17.21

ddependabot[bot] committed 2 years ago
Unverified
5197db9dc4da7a1bd7d8e6312ca2bf4de6957425

2.0.0

RRafaelGSS committed 2 years ago
Unverified
3d292213a5ca84f101ed433c96503d76fa6382c8

update: bump fastify dependencies to v4

RRafaelGSS committed 2 years ago
Verified
4227878fedc90f006bcc66caf60124167bd3a124

Create README.md

RRafaelGSS committed 3 years ago
Unverified
bc8a62e3116c7ce1ff7132e176b1e987b922e93d

docs: add Fastify Typescript reference

RRafaelGSS committed 3 years ago

README

The README file for this repository.

NAPD

js-standard-style

Node API Project Design - Cli for generate structure base of api.

Installing globally

This is a Node.js module available through the npm registry. It can be installed using the npm

npm i -g napd

Setup application

Help:

napd -h

Initialize an application on current directory

napd init <PROJECT_NAME> <TEMPLATE_TYPE>

Initialize an application on another directory

napd init <PROJECT_NAME> <TEMPLATE_TYPE> --dir DIRECTORY

Templates

API - Express ESM

API Base with ESM Modules - Check the docs

API - Fastify

API Base with Fastify - Check the docs

API - Fastify Typescript

API Base with Fastify and Typescript - Check the docs

Dependencies

  • caporal: A full-featured framework for building command line applications (cli) with node.js
  • enquirer: Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
  • fs-extra: fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
  • mv: fs.rename but works across devices. same as the unix utility 'mv'
  • ora: Elegant terminal spinner

License

MIT