another-api-cli

0.2.6 • Public • Published

Another API CLI (APIC)

This project has being deprecated in favor of Fullstack CLI and it is no longer maintained. This new project covers both, the front and the back.

This is another API CLI to manage and create API projects using Node.js and Hapi, and using inquirer.js to ask questions to the user to configure the creation process.

All it's made using plain node without any kind of parser. So I'm still using require instead of import.

The new API, has the following capabilities:

  • Security layer using JWT.
  • REST API layer using Hapi and Swagger.
  • JWT endpoint to return a token.
  • JWT endpoint to decode a token.
  • GraphQL endpoint over MongoDB.
  • A module to connect to MongoDB.
  • A module to connect to MySQL.
  • A module to connect to PostgreSQL.
  • A module to open web sockets.

Just install the tool from npm:

npm -g install another-api-cli

And execute in a terminal apic.

Then follow the steps to create you API.

To configure the databases connections, install and run the databases you need, and use the configuration files inside the config folder to define the connection parameters.

The API will try to connect to your database, so if you don't configure the connection properly, it will throw an error.

Have fun :)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.61latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.61
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.90
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.100
0.0.90
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i another-api-cli

Weekly Downloads

1

Version

0.2.6

License

MIT

Unpacked Size

29.9 kB

Total Files

32

Last publish

Collaborators

  • timbergus