1- Add a .env.development file with the following environment variable:
GRAPHQL_URI=https://spacex-production.up.railway.app/
2- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result