This is for me to learn graphQL.
- Please clone the repository.
- In the server folder, on line 14 of
server/app.js
, you will have to change themongoDB_URI
to your own. Please head to mongodb.com to create your own database/cluster. - in the server folder, you will need to create a
server/.env
file with key namesMONGODB_USERNAME
andMONGODB_PASSWORD
. This will also need to be set up on mongodb.com for your database/cluster. - In the client folder, run
npm install
and thennpm start
- In the server folder, run
npm install
and thennpm start
- Feel free to add a couple of books. You may also need to create an author first through graphQL. Clicking on the book in the list will display additional details about the book and related author.