Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Cansy <[email protected]>
  • Loading branch information
CansyLand committed Oct 5, 2023
1 parent af57438 commit a3a75ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Pixel-Canvas-API/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ npm run start

## Scene Setup

### Self Hosting
You can host the database yourself. Please refer to the [/server](/server) directory for more details.

### Managed Hosting

1. Create an account on [restdb.io](https://restdb.io/)

2. Set up a table in the database with the required fields. Restdb.io will autogenerate a REST API for your table.
Expand All @@ -53,9 +58,8 @@ The table for this scene should have the following format:
```javascript
posX: number
posY: number
color: string
hexColor: string
```

***CORS Configuration***
To allow access from a Decentraland scene:

Expand Down

0 comments on commit a3a75ce

Please sign in to comment.