Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diplodoc-platform/www-quickstart
https://github.com/diplodoc-platform/www-quickstart
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diplodoc-platform/www-quickstart
- Owner: diplodoc-platform
- Created: 2023-10-04T16:39:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-02T12:14:11.000Z (5 months ago)
- Last Synced: 2024-08-02T13:45:13.604Z (5 months ago)
- Language: TypeScript
- Size: 929 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quickstart
Isomorphic package for React+Express projects
Implements simple GitHub auth based app.
## Installation
```bash
npm i @diplodoc/www-quickstart
```## Usage
Attach routing to server
```js
import {router as quickstart} from '@diplodoc/www-quickstart'express.use(quickstart);
```Publish static to CDN
```bash
s3cmd sync ./node_modules/@diplodoc/quickstart s3:/some/static/root
```## Dev Requirements
- node >= 18
- haproxy (would be autoinstalle in [haproxy/start](proxy/start) script)