https://github.com/irere123/api-gen-cli
Generate both a Rest API or GraphQL API in seconds. And there are also Authentication....
https://github.com/irere123/api-gen-cli
api cli graphql-api rest-api
Last synced: about 1 month ago
JSON representation
Generate both a Rest API or GraphQL API in seconds. And there are also Authentication....
- Host: GitHub
- URL: https://github.com/irere123/api-gen-cli
- Owner: Irere123
- License: mit
- Created: 2021-09-27T18:29:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-28T17:04:24.000Z (over 4 years ago)
- Last Synced: 2024-10-12T13:23:08.206Z (over 1 year ago)
- Topics: api, cli, graphql-api, rest-api
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/create-custom-api
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
API Generator CLI Tool
With this tool you can generate GraphQL API with authentication, GraphQL API with no authentication and also Rest APIs all in seconds
## How to use
> Using `npx`
```bash
npx create-custom-api
```
This is will set up a folder that contains your api, The API uses TypeORM as an Object Relational Mapper and Postgres as a database
> Using `npm` to globally install it
```bash
npm i -g create-custom-api
```
#### Then run this command to generate an `api`
```bash
create-custom-api
```
## How to contribute
You can contribute to this project by folking the project then write a template that you thing is neccessary to have in this project and then make a pull request