For this project I refactored the code of an existing RESTful API-based search engine in favor of a GraphQL API built with an Apollo Server. This app was built using the MERN stack, with a React front end, MongoDB database, and Node.js/Express.js server and API. While the revamped application retains it's ability to fetch book and user login data, the GraphQL API eliminates the issue of over and under-fetching of data imposed by RESTful APIs.
Clone the repository:
git clone git@github.com:t-starkw/graphic-ql.git
Install the required dependencies:
npm install
Run the project in your local browser:
npm run develop
Browse for books by title or author using the search bar on the main page. You must log in or create an account in order to save books to your collection. You can view and edit your collection by selecting the 'Saved Books" navigation item.
You can view the live application here
Tessa Starkweather – LinkedIn – tess.starkweather@gmail.com
View my profile – GitHub
Distributed under the MIT license. See LICENSE
for more information.
- Fork it (https://github.com/t-starkw/graphic-ql/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request