/nocode-api-builder-template

Powerfull no-code API builder template. Clone this repo and start your no-code project today. Next.js + Tailwindcss + TypeScript + NoCode JS components.

Primary LanguageTypeScriptMIT LicenseMIT

NoCode API Builder Template

NoCode API Builder Template

Powerful no-code API builder template. Clone this repo and start your no-code API builder today. The API builder allows you to create REST API endpoints using a visual editor. You can request the endpoint from any HTTP client. Additionally, the template provides a simple UI to test your endpoints. You can easily extend this template and add your own features.

Preview of NoCode API Builder

This templates uses:

The template supports two types of storage:

  • memory - in-memory storage, used by default, for development purposes.
  • mongodb - MongoDB storage, requires MONGODB_URI environment variable.

To choose storage type, set STORAGE_TYPE environment variable. You may do it by setting .env file:

STORAGE_TYPE=memory

or

STORAGE_TYPE=mongodb
MONGODB_URI=mongodb://localhost:27017
MONGODB_DB=nocodeApiBuilder

🚀 Deployment

To deploy this template, you need any compatible with Next.js hosting.

Deploy with Vercel

To deploy this template to Vercel you need to set STORAGE_TYPE=mongodb and MONGODB_URI environment variables. The memory storage doesn't work with cloud hosting. We recommend to use MongoDB Atlas for database hosting.

🔨 Development

You can work with NPM but we recommend to use pnpm:

npm install -g pnpm

Clone this repository:

git clone https://github.com/nocode-js/nocode-api-builder-template.git
cd nocode-api-builder-template

Install dependencies:

pnpm install

Start the development server:

pnpm dev

💡 License

This template is released under the MIT license.