Giter Club home page Giter Club logo

apitemplate's Introduction

Now stable! 💖

API Template

This is a Next.js template created for Kars Powered API's, featuring

  • Automatic Redirecting
  • SQL Preinstalled
  • Stats
  • Usefull Bases
  • Copywriting
  • 404 page for API Routes

Quickstarting using create-kapp

npm i create-kapp@latest -g

then run the create-kapp command to initialise this template.

create-kapp

You'll be promoted with this:

? Setup the project in...? »
# Use "." or "./" for the local folder.
# Use a foldername to setup the project in that folder. (It will be created if it doesn't exist)

Cloning

To initialise this template, choose one of the following options:

Option 1: Folder already exists

gh repo clone kars1996/APITemplate .

Option 2: Folder does not exist

gh repo clone kars1996/APITemplate <folder-name>
# the folder name is optional

Option 3: Forking

gh repo fork kars1996/APITemplate

Getting Started

Firstly install the dependencies:

npm i
# or
yarn
# or
pnpm i

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000/v1/hello with your browser to see the result.

You can start editing the API by modifying v1/route.ts. The Page must be reloaded to see changes

Happy Coding 🚀

apitemplate's People

Contributors

kars1996 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.