• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated about 5 years ago

Reviews

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

Repository Details

Default Hoodie App

hoodie-app-tracker

Default Hoodie app

Build Status Dependency Status devDependency Status

Tracker is a simple Hoodie app, meant to be a starting point to play and build with Hoodie.

Find the repository on GitHub.

Offline

In most situations this app will run when your device is offline. The app does this by using the Service Worker standard. All mainstream web browsers support Service Worker. Where Service Worker is not supported, the app won't work offline. Please see the start-service-worker.js and sw.js for details of how this is configured.

Install app

The app behaves like a native app on some devices by using the manifest.json file. This functionality is currently fully supported by the Chrome and Opera browsers with some features supported by other browsers. The manifest provides information for the web app to behave like a native app. For instance, on mobile devices by allowing users to install an icon on the homepage and provides a splash/loading page when opening.

Requirements

Tracker needs node >=4. To see which version you have installed, run

node -v

Setup

git clone https://github.com/hoodiehq/hoodie-app-tracker.git
cd hoodie-app-tracker
npm install --production

Start server with

npm start

Optional: Setup email for password reset

If you want to use the password reset feature, you must configure an email account to send out notification, like a Google Mail account. Edit the .hoodierc file, the options are passed to nodemailer.createTransport()

cp .hoodierc-example .hoodierc

Deployment

You can find a detailed instruction here.

Contribute

hoodie-app-tracker is work in progress. The goal is to have a simple application with very clear and easy to understand HTML / CSS / JS code which ideally uses no 3rd party code at all, besides the Hoodie client.

If you want to contribute to the frontend assets, you can simply open the project folder and edit the files in the public/ folder.

Tests

Install devDependencies by running npm install without --production

npm install

Then run tests with

npm test

The tests are written using the Cypress library. Cypress allows interactively viewing the tests within a browser. This is really useful as it allows you to see the tests running. The tests can be stopped, rewound and easily debugged. To run the tests interactively

npm run cypress:open

Need help or want to help?

It’s best to join our chat.

License

Apache 2.0

More Repositories

1

hoodie

🐶 The Offline First JavaScript Backend
JavaScript
4,371
star
2

first-timers-bot

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

hoodie-server

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

hoodie-app-mapchat

An open source, offline capable, map based demo app.
JavaScript
115
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