• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Elm
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

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

Repository Details

The Space App

Source code of TheSpace official app.

Development

Install Tools

Install project development dependencies

npm install --only-dev

Auto reload dev server

make dev-server

or, in debug mode

make debug-server

Notes

  • tmp build elmapp to src/Native/elmapp.js (in .gitignore)
  • default host using 0.0.0.0:8000 for mobile testing convenience
  • for production server, 127.0.0.1 is whitelisted

Env Management (production/staging/development)

Switch env

cp src/Env/(Production|Staging|Development).env src/Env.elm

Backup current env

make backup-env

This will back up src/Env.elm to src/Env.bak.

Restore backup env

make restore-env

This will restore src/Env.bak to src/Env.elm, and use src/Env/Development.env if src/Env.bak not exists.

Release

Production Release

make prod

Staging Release

make stag

These commands will:

  1. backup current env
  2. switch to production/staging env
  3. compile current Elm code with --optimize flag to src/Native/elmappesm.js (ES6 Module).
  4. bundle elmappesm.js with js files to current/(prod|stag)/app.js
  5. uglify and minify current/(prod|stag)/app.js to current/(prod|stag)/app.min.js
  6. generate current/(prod|stag)/index.html using MD5 checksum of app.min.js as version(?v=version)
  7. remove current/(prod|stag)/app.js and src/Native/elmappesm.js
  8. restore backed up env

App Architecture

Diagram for TheSpace App Architecture

More Repositories

1

developer-resource

Developer resource for Matters community
145
star
2

matters-web

Implementation of the Matters.Town website
TypeScript
82
star
3

matters-server

Implementation of the Matters.Town API server
TypeScript
76
star
4

matters-editor

Rich editor for matters.town, built on top of Tiptap/ProseMirror
TypeScript
33
star
5

apollo-response-cache

Caching and invalidation mechanisms (plugins, directives) of Apollo GraphQL
TypeScript
28
star
6

fullstack-challenge

Fullstack engineer challenge for Matters Lab.
17
star
7

contracts

Implementation of the Matters contracts
Solidity
12
star
8

airdrops

Merkle airdrops and token (NFT) snapshots
Solidity
9
star
9

ipns-site-generator

Matters Site Generator for IPFS/IPNS
TypeScript
6
star
10

logbook-app

A Collective Book of Your Web3 Trek (Transfer to co-create)
TypeScript
6
star
11

matters-email

Use MJML and gulp-html-i18n to generate and update sendgrid dynamic templates
TypeScript
6
star
12

matters-queue-dashboard

JavaScript
3
star
13

serverless-file-post-processing

Post processing files uploaded to S3 (Deprecated by Cloudflare Images)
TypeScript
3
star
14

matters-ipfs

3
star
15

passport-likecoin

LikeCoin (like.co) authentication strategy for Passport and Node.js.
JavaScript
3
star
16

traveloggers-contracts

NFT avatar for Matties
TypeScript
3
star
17

info.matters.news

info.matters.news
CSS
2
star
18

slugify

JavaScript
2
star
19

symmetric-encryption-PoC

HTML
1
star
20

matters-docker

This repository contains Dockerfile and related shell scripts.
Jupyter Notebook
1
star
21

thespace-snapper

TypeScript
1
star
22

matters-learning-resource

1
star
23

lambda-handlers

TypeScript
1
star
24

rich-markdown-editor

a remirror based rich-markdown-editor for logbook (inspiration from https://github.com/outline/rich-markdown-editor)
CSS
1
star
25

billboard-auctioneer

Moved to https://github.com/thematters/lambda-handlers/
TypeScript
1
star
26

billboard-app

TypeScript
1
star
27

uptime

📈 Uptime monitor and status page for Upptime, powered by @upptime
Markdown
1
star