hoodie

:dog: The Offline First JavaScript Backend

Github星跟踪图

hoodie

A generic backend with a client API for Offline First applications

Build Status
Coverage Status
Dependency Status
devDependency Status

Hoodie lets you build apps without thinking about the backend
and makes sure that they work great independent from connectivity.

This is Hoodie’s main repository. It starts a server and serves the client API.
Read more about how the Hoodie server works.

A good place to start is our Tracker App.
You can play around with Hoodie’s APIs in the browser console and see how it
works all together in its simple HTML & JavaScript code.

If you have any questions come say hi in our chat.

Setup

This setup is working for all operating system, testing on Windows 8, Windows 8.1, Windows 10, Mac and Linux.

Hoodie is a Node.js package. You need Node Version 4
or higher and npm Version 2 or higher, check your installed version with node -v and npm -v.

First, create a folder and a package.json file

mkdir my-app
cd my-app
npm init -y

Next, install hoodie and save it as dependency

npm install --save hoodie

Now start up your Hoodie app

npm start

You can find a more thorough description in our Getting Started Guide.

Usage

hoodie can be used standalone or as hapi plugin.
The options are slightly different. For the standalone usage, see Hoodie’s configuration guide.
For the hapi plugin usage, see Hoodie’s hapi plugin usage guide

Testing

Local setup

git clone https://github.com/hoodiehq/hoodie.git
cd hoodie
npm install

The hoodie test suite is run with npm test.
You can read more about testing Hoodie.

You can start hoodie for itself using npm start. It will serve the contents
of the public folder.

Backers

Become a backer and show your Hoodie support!






























Official Sponsors

Show your support for Hoodie and help us sustain our inclusive community. We will publicly appreciate your support and are happy to get your word out, as long as it aligns with our Code of Conduct.




















License

Apache 2.0

主要指标

概览
名称与所有者hoodiehq/hoodie
主编程语言JavaScript
编程语言JavaScript (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2012-06-25 10:44:38
推送于2024-07-27 11:21:44
最后一次提交2021-01-04 23:54:16
发布数168
最新版本名称v28.2.10 (发布于 )
第一版名称0.1.3 (发布于 2013-02-02 19:53:37)
用户参与
星数4.4k
关注者数161
派生数479
提交数1.4k
已启用问题?
问题数451
打开的问题数35
拉请求数311
打开的拉请求数40
关闭的拉请求数145
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?