Code Monkey home page Code Monkey logo

hub-core's Introduction

NuxtHub

npm version npm downloads License Nuxt

Build full-stack applications with Nuxt on Cloudflare, with zero configuration.

Features

  • SQL database to store your application's data with hubDatabase()
  • Key-Value to store JSON data accessible globally with low-latency with hubKV()
  • Blob storage to store static assets, such as images, videos and more with hubBlob()
  • Cache storage to cache your server route responses or functions using Nitro's cachedEventHandler and cachedFunction

Read more on https://hub.nuxt.com

Quick Setup

Duplicate our nuxt-hub/starter or create a new NuxtHub project with:

npx nuxthub init my-app

Add to a Nuxt project

  1. Install @nuxthub/core dependency to your project:
npx nypm@latest add @nuxthub/core
  1. Install wrangler development dependency to your project:
npx nypm@latest add -D wrangler
  1. Add @nuxthub/core to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@nuxthub/core'
  ]
})

That's it! You can now use NuxtHub features in your Nuxt app โœจ

Contributing

# Install dependencies
pnpm i

# Generate type stubs
pnpm dev:prepare

# Develop with the playground
pnpm dev

# Build the playground
pnpm dev:build

# Run ESLint
pnpm lint

# Run Vitest
pnpm test
pnpm test:watch

# Release new version
pnpm release

License

Apache 2.0

hub-core's People

Contributors

atinux avatar smarroufin avatar farnabaz avatar daleweaver777 avatar ra-jeev avatar nurodev avatar veryard avatar flosciante avatar gerbuuun avatar harlan-zw avatar onmax avatar quatton avatar oskarkinomoto avatar so1ve avatar rihanarfan avatar samulefevre avatar sandros94 avatar zacwebb avatar shingangan 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.