DEV Community

Discussion on: Deploying Create-React-App with Json-Server as backend to Github

Collapse
dannymousa profile image
Danny-Mousa

Thanks for this helpful article, i have one question please:
If my json-server has not only the db.json, but an images folder in the public folder, what should i do to upload the whole json-server content in this case?

Collapse
isaackomeza profile image
Isaac Komezusenge

Same question here

Collapse
nikita_guliaev profile image
Nikita Guliaev🧩 Author • Edited

Hey Danny, as an option you could include the links to your images in the db.json file like shown on the image below.

dev-to-uploads.s3.amazonaws.com/up...