mirror of
https://github.com/placeholder-soft/web.git
synced 2026-05-16 04:17:22 +08:00
8d45401261f47608c80c0edaf6f6cec8e6a04e56
* Attempt DB query * Super basic demo * Clean up * Remove content nesting * Fix lint * Update for API compatibility * Add pagination to entries api * Add featured API and entries pagination * Add category filtering * Pass through formatted data, no need to transform * Make category filtering case insensitive * add curation filter * Move ocsRegistry -> /api/registry --------- Co-authored-by: Ricardo Moguel <ricardo.moguel@coinbase.com>
Base Web
Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users onchain. It's built on Optimism’s open-source OP Stack.
Setup
- Ensure
nvmis installed. - Clone the repository.
- If
nvmdoesn't auto-load the Node.js environment when changing to the repo directory, runnvm use. - Enable Yarn by running
corepack enable.
Getting started
After cloning the repository begin by installing dependencies at the root.
yarn
yarn build
Local development
To start a development server on localhost, run yarn workspace @app/<project> dev.
For example, to start the web app locally, you would run yarn workspace @app/web dev.
Projects
There are three projects which can be run individually.
Web
yarn workspace @app/web dev
Docs
yarn workspace @app/base-docs dev
Bridge
yarn workspace @app/bridge dev
Contribution
We welcome contributions to Base! To contribute, please see CONTRIBUTING.md.
Description
Languages
TypeScript
81.5%
JavaScript
14.2%
CSS
3.7%
MDX
0.3%
Shell
0.2%
