- Project utilizes GraphQL, Node, React, Apollo, and the National Park Service API
- Assignment details on class page
- This project was refactored as part of a ACS 4391 project. See REFACTORING.md for details on the refactoring details. For related details about testing see:
Types include Park, Images, Activity, Address and ParksResponse
- The
imagesfield in theParktype is an array ofImagesobjects. The first image in the array is shown on each park card in the UI. - The
activitiesfield in theParktype is an array ofActivityobjects. This is not exposed in the UI, but can be queried in Apollo GraphQL after starting the server. - The
addressesfield in theParktype is an array ofAddressobjects. This is not exposed in the UI, but can be queried in Apollo GraphQL after starting the server. - The
datafield in theParksResponseis an array ofParkobjects. This data is fetched to populate the park information in the UI of the React app.
Widescreen:
Mobile:
Navigate to relevant directory (open two separate terminals):
cd client or cd server
Install node modules:
npm install
Start the development server:
npm run dev
View Apollo GraphQL : http://localhost:4000/graphql?
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Follow directions to scaffold your first vite project
Make sure you're using Node.js version 18+ or 20+.

