A project I started over ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads https://hostr.co
Find a file
2020-06-14 21:32:07 +01:00
.vscode Fix linting 2018-06-02 18:20:05 +00:00
api Fix account deletion. 2019-07-21 19:37:20 +00:00
lib Update dependencies 2019-06-08 07:52:57 -07:00
models Fix linting 2018-06-02 18:20:05 +00:00
test Upgrade node and deps 2020-06-14 21:32:07 +01:00
web Fix account deletion. 2019-07-21 19:37:20 +00:00
.babelrc Finish updating deps 2016-06-02 21:16:41 +01:00
.dockerignore Update dependencies 2019-06-08 07:52:57 -07:00
.eslintignore Get linting passing again 2016-06-06 15:37:00 +01:00
.eslintrc Fix linting 2018-06-02 18:20:05 +00:00
.gitignore Ignore minigun test files 2015-08-22 16:18:09 +01:00
.gitlab-ci.yml More changes for db migration 2016-08-07 14:38:05 +01:00
app.js Add request context to sentry exceptions 2020-06-14 21:32:07 +01:00
CHECKS Initial commit. 2015-08-03 22:06:40 +01:00
docker-compose.yml Upgrade node and deps 2020-06-14 21:32:07 +01:00
Dockerfile Upgrade node and deps 2020-06-14 21:32:07 +01:00
LICENSE Add a license 2016-05-24 19:37:12 +01:00
Makefile Better login logging 2019-01-19 11:06:14 +00:00
nginx.conf.sigil Update stuff 2018-06-02 15:50:39 +00:00
package.json Upgrade node and deps 2020-06-14 21:32:07 +01:00
README.md Lower logging volume 2019-01-13 17:59:03 +00:00
webpack.config.js Goodbye JSPM. 2018-06-02 20:07:04 +00:00
worker.js Upgrade deps 2019-01-14 21:47:30 +00:00
yarn.lock Upgrade node and deps 2020-06-14 21:32:07 +01:00

Hostr

About

Hostr is a project I started over ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads.

It has been through many iterations, but in its current incarnation Hostr uses Koa for the backend, Angular and Webpack for the frontend, and Babel for both.

Getting Started

Dependencies

Everything is taken care of by a make build.

Enviroment Variable Configuration

See .envrc.example. Copy it to .envrc, modify and source .envrc for development. direnv is pretty nice for doing this automatically when you cd into your work directory.

Usage

Start the app

$ make docker-compose-up

Initialise the environment

$ make init migrate

Run the tests

$ make test

Licence

My primary motivation is to get to work on Hostr in public. Contributions are welcome and all Javascript is Apache licenced, however the brand is not. The brand includes the name, logo images, CSS and marketing HTML.