• Stars
    star
    4,371
  • Rank 9,826 (Top 0.2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🐶 The Offline First JavaScript Backend

hoodie

A generic backend with a client API for Offline First applications

Build Status Coverage Status Dependency Status devDependency Status

The Low-Profile Dog Hoodie Mascot

Hoodie lets you build apps without thinking about the backend and makes sure that they work great independent of 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 and JavaScript code.

If you have any questions come and 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 a 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 itself by 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 happy to get your word out as well, as long as it aligns with our Code of Conduct.

License

Apache 2.0

More Repositories

1

first-timers-bot

A friendly bot that helps onboarding new Open Source Contributors
JavaScript
265
star
2

hoodie-server

🐶 Hapi plugin for Hoodie’s server core module
JavaScript
244
star
3

hoodie-app-mapchat

An open source, offline capable, map based demo app.
JavaScript
115
star
4

hoodie-app-tracker

Default Hoodie App
JavaScript
103
star
5

camp

🎪 Welcome to Hoodie Camp!
HTML
99
star
6

hood.ie

🐶 Hoodie Website
HTML
74
star
7

pouchdb-hoodie-api

🐶 Hoodie-like API for PouchDB
JavaScript
43
star
8

account-json-api

REST-API Blueprint for all things user accounts and sesions
API Blueprint
35
star
9

hoodie-client

🐶 Client API for the Hoodie server
JavaScript
34
star
10

hoodie-css

Framework for all hoodie sites
CSS
30
star
11

editorial

📙 The home of the Hoodie Editorial Team
23
star
12

hoodie-account-server

🐶 Account JSON API backed by PouchDB
JavaScript
22
star
13

pouchdb-hoodie-sync

🐶 Hoodie-like sync API for PouchDB
JavaScript
21
star
14

hoodie-app-skeleton

Boilerplate for a new Hoodie App
HTML
18
star
15

ember-hoodie

Build awesome offline-first Ember apps with Hoodie!
JavaScript
17
star
16

hoodie-admin

🐶 Hoodie Admin core module
JavaScript
13
star
17

faq

Frequently asked questions about Hoodie
JavaScript
11
star
18

hoodie-account-client

🐶 Account client API for the browser
JavaScript
11
star
19

slack-irc-duplex

JavaScript
10
star
20

hoodie-camp-tutorial

Tutorial for latest Hoodie Camp Release
HTML
9
star
21

couchdb-calculate-session-id

calculates valid CouchDB session IDs using username, salt, secret & timestamp
JavaScript
9
star
22

discussion

General discussions and questions about Hoodie
7
star
23

hoodie-store-server

🐶 CouchDB APIs for storing JSON data and sync
JavaScript
7
star
24

pouchdb-admins

PouchDB plugin to simulate CouchDB’s admin accounts
JavaScript
7
star
25

pouchdb-users

PouchDB plugin to simulate CouchDB’s _users database behavior
JavaScript
7
star
26

hoodie-plugin-hello-world

A sample Hoodie plugin
JavaScript
5
star
27

hoodie-connection-status

🐶 connection status API for the browser
JavaScript
5
star
28

hoodie-task

⛔ WORK IN PROGRESS - Showcase of a standalone server using only Task Client/Server
JavaScript
4
star
29

hoodie-store-server-api

API to manage databases, access and replications, backed by PouchDB
JavaScript
4
star
30

hoodie-log

🐶 log API for the browser
JavaScript
4
star
31

hoodie-account-server-api

🐶 Account JavaScript API backed by PouchDB
JavaScript
3
star
32

try.hood.ie

1, 2, … Hoodie!
CSS
3
star
33

hoodie-task-client

client api for asynchronous task queue, using PouchDB for sync
JavaScript
2
star
34

hoodie-admin-client

🐶 Client Admin API for the Hoodie server
JavaScript
2
star
35

hoodie-task-server

⛔ WORK IN PROGRESS - Hoodie’s background Task queue backend
JavaScript
1
star