/Texti

Make both REST and GraphQL API's in a minute without coding

Primary LanguageHTML

Texti

Make both REST and GraphQL API's in a minute without coding.

Demo video- https://vimeo.com/515008150

Prerequisites

Ensure you have the following installed on your local machine:

  • NodeJS (JavaScript runtime)
  • MongoDB (NoSQL database)

Instructions

Please follow the below steps to use Texti to generate API's.

  • Ensure that MongoDB service is running and active by running service mongod status. If the MongoDB Database Server is inactive run sudo service mongod start.

  • Now write the details of your API in plain English. Include the name you want to give to your service followed by the fields you want.

Example:

Make a product API with the follwing fields.

name:string
description:text
price:integer
quantity:integer

  • Now just run magic in your terminal. magic is an alias to generateApi.sh script.

  • Sit back and relax for a minute. You will see links to your REST and GraphQL API as output in your terminal.

If you loved our concept please star the repository.