@@ -27,7 +27,6 @@ easily be added to tus-node-server
2727- [ Quick start] ( #quick-start )
2828- [ Packages] ( #packages )
2929- [ Extensions] ( #extensions )
30- - [ Demos] ( #demos )
3130- [ Types] ( #types )
3231- [ Compatibility] ( #compatibility )
3332- [ Contribute] ( #contribute )
@@ -49,6 +48,9 @@ integrate it into your existing one. There are also other mature servers, like
4948
5049A standalone server which stores files on disk.
5150
51+ > [ !TIP]
52+ > Try it yourself in [ StackBlitz] ( https://stackblitz.com/edit/stackblitz-starters-zg6mgnuf?file=index.js )
53+
5254``` js
5355const {Server } = require (' @tus/server' )
5456const {FileStore } = require (' @tus/file-store' )
@@ -116,31 +118,6 @@ extensions.
116118| [ Termination] [ ] | ✅ | ✅ | ❌ | ❌ |
117119| [ Concatenation] [ ] | ❌ | ❌ | ❌ | ❌ |
118120
119- ## Demos
120-
121- Start the demo server using Local File Storage
122-
123- ``` bash
124- npm run build && npm run demo
125- ```
126-
127- Start up the demo server using AWS S3. The environment variables ` AWS_BUCKET ` ,
128- ` AWS_ACCESS_KEY_ID ` , ` AWS_SECRET_ACCESS_KEY ` , and ` AWS_REGION ` need to be present.
129-
130- ``` bash
131- npm run build && npm run demo:s3
132- ```
133-
134- Start up the demo server using Google Cloud Storage. A ` keyfile.json ` needs to be present
135- in the root of the repository.
136-
137- ``` bash
138- npm run build && npm run demo:gcs
139- ```
140-
141- Then navigate to the demo ([ localhost:1080] ( http://localhost:1080 ) ) which uses
142- [ ` tus-js-client ` ] ( https://github.com/tus/tus-js-client ) .
143-
144121## Types
145122
146123All packages are fully typed with TypeScript.
0 commit comments