rapi, (rap-ee) is a CLI tool to make and manage Go APIs, supporting popular frameworks like Gin, Fiber, and many more!
- Create a new project
- Initialize rapi in a current project
- Create a new route and middleware
- Add routes to your project, supporting Global and Grouping routes
- Add middlewares to your project, with options for Global, Group, and Route middleware
- Add groups to your project
go get github.com/subtsoharki/rapi
rapi [command] [arguments]
help [command] Help about any command
init Initialize rapi in a current project
new [name] Create a new project
add:middleware [name] Add a new middleware
add:route [name] Add a new route
add:group [name] Add a new group
Currently, rapi supports the following frameworks (more to come):
- Add support for other languages (Javascript, Python, PHP, etc.)
- Add 'rapi install' command to install middlewares for each framework
- Add middleware templates for each framework by flag (Database, Authentication, etc.)
- Add flags to 'rapi new' command to specify framework to speed up project creation
- Create testing for each framework