webcomponents/webcomponents.org
About
Home of the web components community
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalwebcomponents.org
A new version of webcomponents.org
The currently deployed version is on the old-site branch.
See DESIGN.md for more information.
Packages
This monorepo contains several npm packages:
@webcomponents/catalog-server: A data-only backend that indexes npm packages and provides a GraphQL API into the database@webcomponents/catalog-api: GraphQL schemas and TypeScript interfaces for the registry API.@webcomponents/custom-elements-manifest-tools: Tools for working with Custom Element Manifests@webcomponents/internal-site-content: An HTML client served by the frontend server@webcomponents/internal-site-client: JavaScript for the site@webcomponents/internal-site-server: A frontend server that serves the user-facing webcompoents.org site
Quick Start
Install dependencies:
npm ciRun tests:
npm testStart everything in development mode and watch for changes:
npm start --watchVisit
http://localhost:6451/bootstrap-packagesto bootstrap the database with a default set of elements.Visit
http://localhost:5450/catalogand search for "button" to see example elements.
Docker
Using Docker locally gives you the most realistic simulation of a production environment:
npm run start:docker
Ports
We use the following port scheme for consistency and to prevent collisions:
localhost:5450: site-server in dev modelocalhost:5451: site-server in prod modelocalhost:5452: site-server in dockerlocalhost:5452: site-server gcloud proxylocalhost:6451: catalog-serverlocalhost:6452: catalog-server in dockerlocalhost:6452: catalog-server gcloud proxylocalhost:7450: firestore-emulator
Explore related projects
Loading…