2.0.3 • Published 6 years ago

amola v2.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

AMOLA

CLI Tool to making CRUD API code automatically with specification file.

Just write down 'URL like API spec' and run, then you can get API codes.

INSTALL

npm install -g amola

USAGE

Start project

Initialize default setting at current path.

.amola file will be generated. that contains configurations.

$ amola init

Make CRUD API codes

Generate codes with specification file spec.amola. the codes will be generated in gen folder.

$ amola run

you can get more information with -h option.


EXAMPLE

spec.amola is looks like codes below.

# Read rows from `users` table by `userId` or `email` fields
	table:users
	get_userInformations.php?userId=<int@>&email=<string@>

# Update 'price' field' of 'sales' table by customer's name
	table:sales
	update_sales.php?customer_name=<string*@>&price=<int>

EXTRA INFO

build system setting - Sublime text

{ "cmd": ["amola.cmd", "run"] }

TODO

  • Add test unit
  • API Document HTML build
  • .amola should be change as Array.
2.0.3

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

0.1.0

7 years ago

1.0.0

7 years ago