API Generator

Learn how to use Supersaas API Generator in your site

I was testing and creating a lot of API endpoints for my projects, and I wanted to automate the process. I have created a script which generates the API endpoints and database queries for you.

Usage

pnpm generate:api posts

Running the above command will generate the API endpoints and database queries for the posts table. You will need to create the posts table in your database before running the command.