juanpb96 / FEM_space-tourism-website

A space website created with React + TypeScript
https://juanbonilla.me/FEM_space-tourism-website/
0 stars 0 forks source link

[Story] - Serve JSON file into a prod environment #61

Closed juanpb96 closed 5 months ago

juanpb96 commented 5 months ago

Description

Currently, json-server is being used to make local development based on API communication. The goal is to understand how to "deploy" or access this data from anywhere to prevent issues on the deployed site in the future

Tasks

Notes

juanpb96 commented 5 months ago

According to this thread, the only solution for running a JSON server is by downgrading the package to a specific version such as the @0.17.1. Reference: https://github.com/typicode/json-server/issues/1500