A sample offline streaming video PWA built for web.dev/media
Перейти к файлу
Derek Herman 138c419535 Change category from html to basics 2021-04-06 15:49:12 -07:00
.github Rename lint step 2021-03-10 00:16:59 -08:00
public Change category from html to basics 2021-04-06 15:49:12 -07:00
src Change category from html to basics 2021-04-06 15:49:12 -07:00
.babelrc Add .browserslistrc and refactor code to work in target browsers. 2021-02-11 17:38:16 +01:00
.browserslistrc Add .browserslistrc and refactor code to work in target browsers. 2021-02-11 17:38:16 +01:00
.editorconfig Transfer the internal PoC to public repo. Cleanup code style. 2021-02-05 16:30:23 +01:00
.eslintrc.json Build the API inside rollup.config.js 2021-03-30 18:40:44 -07:00
.gitignore Stop tracking api.json 2021-03-30 18:45:51 -07:00
.nvmrc Apply some comments 2021-02-23 14:53:52 +01:00
CODE_OF_CONDUCT.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
CONTRIBUTING.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
ENGINEERING.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
LICENSE Initial commit 2021-01-27 00:15:23 -08:00
README.md Update docs for continuity 2021-02-08 16:26:28 -08:00
SECURITY.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
firebase.json More UI and connected Router 2021-02-22 17:21:20 +01:00
package-lock.json Watch file changes with chokidar 2021-03-31 02:33:09 -07:00
package.json Bump version 2021-03-31 21:03:36 -07:00
rollup.config.js Build the API inside rollup.config.js 2021-03-30 18:40:44 -07:00

README.md

Please note: This app is being developed. There may be bugs, and everything is subject to change.

App Name @todo

Description @todo

Running the site locally

Start by creating a new project from the Firebase Console and then setup the Firebase CLI with NPM.

Important: This project uses a local Firebase emulator, which mean you need to install the Firebase CLI globally.

npm install -g firebase-tools

Clone this repository:

git clone git@github.com:xwp/web-dev-media.git

Go to the project folder:

cd web-dev-media

Login to Firebase:

firebase login

Initialize Firebase:

firebase init

Install the dependencies:

npm install

Build the assets:

npm run build

Note: This project uses Rollup to build the JavaScript assets. No transpilation is currently being done, the tooling exists mainly to resolve ES Modules in the Service Worker.

You can also have Rollup watch for changes in the /src directory and rebuild them on the fly.

Watch and build the assets:

npm run watch

Finally, start the Firebase emulator:

npm start