Build a separate backend for storing JSON files
See original GitHub issuehttps://json.excalidraw.com/
I can build a backend on App Engine which will do the following:
- Endpoint to accept
POST
requestsJSON
files (example:https://json.excalidraw.com/api/v1/post/
) and returns200
and some data about the the uploaded file`. - Endpoint to accept
GET
requests with a given hash and returnJSON
if found,404
if not. (example:https://excalidraw-json.appspot.com/api/v1/2fd4e1c67a2d28fced849ee1bb76e7391b93eb12.json
) - Automatically delete very old ones that haven’t been accessed for a long time
- Accept requests only from
https://excalidraw.com
andlocalhost:3000
- Count potential visits of every drawing
- Force HTTPS
- Ability for the admins to view and manually delete JSON files
- Keep in mind if we want to support if in the year 2025 the support for GitHib logins.
Then build the functionality here store, and share via URLs…
P.S. This service most likely will be a paid app, but we could try the free tiers and if anything we could ask Google for some credits, until we get our own sponsors 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Create A REST API With JSON Server | by Sebastian - Medium
A common task for front-end developers is to simulate a backend REST service to deliver some data in JSON format to the front-end...
Read more >How to build a RESTful Node.js API server using JSON files
1. Node API server setup ... First things first, you'll need to make sure you have Node.js installed on your machine and preferably...
Read more >7 Reliable JSON Hosting Solution for Your Modern Application
To get started, you can use the lightweight backend of n:point to create data, define data structure through JSON Schema, and then lock...
Read more >Postgres vs. MongoDB for Storing JSON Data
JavaScript Object Notation (JSON) is unstructured, flexible, and readable by humans. Basically, you can dump data into the database however it ...
Read more >Storing JSON in database vs. having a new column for each key
@Sann You should use a column per value for data that you want to read or query often. Putting someone's name in JSON...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want to build all this infra, go for it.
#459