This application wraps SpaceX's REST API with a GraphQL API layer in order to return requested data to a React client.
In your terminal, navigate to the directory in which you wish to place this folder
git clone https://github.com/JsonRoyJones/spacex-app-evgo
(note that if you forked this repo, you'll want to swap my username out for your username instead)
-
Have Node and NPM installed locally:
- Verify with
node -v
andnpm -v
respectively.
- Verify with
-
Install the node packages needed in each directory:
cd spacex-app-evgo
and runnpm install
cd client
and runnpm install
- start the server and the client app in development mode by running
npm run dev
from the project's root directory
You should now have a live app. Navigate to http://localhost:3000/ to access the web app.
You can also interact with the GraphQL server at http://localhost:5000/graphql
If you encounter any errors, please don't hesitate to reach out to me at jasonroyjones@gmail.com