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
2018-08-11 12:08:16 +01:00
.vscode Fix linting 2018-06-02 18:20:05 +00:00
api Fix emails and csrf 2018-08-11 12:08:16 +01:00
lib Fix linting 2018-06-02 18:20:05 +00:00
models Fix linting 2018-06-02 18:20:05 +00:00
test Update stuff 2018-06-02 15:50:39 +00:00
web Fix emails and csrf 2018-08-11 12:08:16 +01:00
.babelrc Finish updating deps 2016-06-02 21:16:41 +01: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 Fix emails and csrf 2018-08-11 12:08:16 +01:00
CHECKS Initial commit. 2015-08-03 22:06:40 +01:00
docker-compose.yml Update stuff 2018-06-02 15:50:39 +00:00
Dockerfile Goodbye JSPM. 2018-06-02 20:07:04 +00:00
LICENSE Add a license 2016-05-24 19:37:12 +01:00
Makefile Update stuff 2018-06-02 15:50:39 +00:00
nginx.conf.sigil Update stuff 2018-06-02 15:50:39 +00:00
package.json Fix emails and csrf 2018-08-11 12:08:16 +01:00
Procfile Initial commit. 2015-08-03 22:06:40 +01:00
README.md Fix Raven 2018-06-02 19:05:12 +00:00
webpack.config.js Goodbye JSPM. 2018-06-02 20:07:04 +00:00
worker.js Goodbye JSPM. 2018-06-02 20:07:04 +00:00
yarn.lock Fix emails and csrf 2018-08-11 12:08:16 +01:00

Hostr

About

Hostr is a project I started almost 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 JSPM for the frontend, and Babel for both.

Getting Started

Dependencies

Everything is taken care of by an 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

Running the tests will also set the indexes required for Mongo.

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.