Skip to content

logicalphase/litpress

Repository files navigation

LitPress

PWA built with lit-element created web components.

WordPress WP-REST API is used for our backend, but it can easily be modified to use virtually any backend CMS.

Built with pwa–starter–kit Renovate enabled CircleCI BrowserStack Status

Get started

npm i && npm run start

or

yarn install && yarn run start

Configuring your site

This repo currently uses WordPress.org example posts as it's source WP-REST API. You can use this for development purposes, but you'll no doubt wan to connect to your own WordPress instance. The /src/components/config.js is a simple configuration file to set yours up. Refer to https://developer.wordpress.org/rest-api/ for additional methods including more advanced features such as using secured authentication and other information you'll find helpful.

Please refer to Polymer Documentation at https://www.polymer-project.org/ for information on lit-element, lit-html, and PWA Starter Kit for reference.

  • PWA goodness (manifest, service worker)
  • Lit-element @sorville, and lit-html by @justin and contributors
  • Open WC project by https://open-wc.org/
  • Responsive layout
  • Application theming
  • Redux for state management
  • Offline UI
  • Redux routing solution
  • Blog list and article views based on WordPress REST API
  • Fast time-to-interactive and first-paint
  • 100% scores on Lighthouse mobile and desktop audits
  • Easy deployment to prpl-server or static hosting
  • Unit and integrating testing starting points
  • Search and Chrome microphone search

We Proudly Use

Browserstack Logo

TODO List

  • Add favorites custom feature
  • Clean up element and shared CSS
  • Add authentication via Firebase
  • Add push notification via Firebase
  • Add services order form
  • Add additional wp-rest api endpoints (pages, customs)

About

Headless WordPress frontend PWA created with @Polymer lit-element, redux, and open-wc

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published