mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 21:45:56 +03:00
updates readme
This commit is contained in:
parent
7169ebda8a
commit
e7357e0299
18
README.md
18
README.md
@ -24,17 +24,17 @@ Slate is tightly scoped for the present and more broadly thought out for the fut
|
||||
|
||||
### Developer API
|
||||
|
||||
Slate has a Developer API that allows you upload files using code and HTTP.
|
||||
Slate has a Developer API that allows you upload files using code and HTTP.
|
||||
|
||||
Every user who creates an account on Slate can use the API. Here is an example:
|
||||
|
||||
```js
|
||||
const response = await fetch('https://slate.host/api/v1/get', {
|
||||
method: 'POST',
|
||||
const response = await fetch("https://slate.host/api/v1/get", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
Authorization: 'Basic XXX-YOUR-SLATE-KEY-XXX',
|
||||
}
|
||||
"Content-Type": "application/json",
|
||||
Authorization: "Basic XXX-YOUR-SLATE-KEY-XXX",
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
@ -42,7 +42,7 @@ const response = await fetch('https://slate.host/api/v1/get', {
|
||||
|
||||
# Get involved
|
||||
|
||||
Slate is built by a growing community of collaborators and contributors. We’d love for you to join us!
|
||||
Slate is built by a growing community of collaborators and contributors. We’d love for you to join us!
|
||||
|
||||
How?
|
||||
|
||||
@ -74,7 +74,7 @@ TEXTILE_HUB_KEY=XXX
|
||||
TEXTILE_HUB_SECRET=XXX
|
||||
RESOURCE_URI_UPLOAD=http://localhost:8888
|
||||
RESOURCE_URI_STORAGE_UPLOAD=http://localhost:8888
|
||||
RESOURCE_URI_REALTIME=http://localhost:8888
|
||||
RESOURCE_URI_PUBSUB=http://localhost:5555
|
||||
```
|
||||
|
||||
### Install and run
|
||||
@ -97,4 +97,4 @@ npm run dev
|
||||
Our design system is outdated but we will be updating it again soon.
|
||||
|
||||
- [Use our components](https://slate.host/_/system)
|
||||
- [Design System Release Repository](https://github.com/filecoin-project/slate-react-system)
|
||||
- [Design System Release Repository](https://github.com/filecoin-project/slate-react-system)
|
||||
|
Loading…
Reference in New Issue
Block a user