https://github.com/atharvathorve/graphql-test
An application which uses GraphQL to make queries to database with React at frontend
https://github.com/atharvathorve/graphql-test
database graphql
Last synced: 3 months ago
JSON representation
An application which uses GraphQL to make queries to database with React at frontend
- Host: GitHub
- URL: https://github.com/atharvathorve/graphql-test
- Owner: AtharvaThorve
- Created: 2020-01-31T09:36:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T22:43:57.000Z (over 3 years ago)
- Last Synced: 2025-03-14T21:37:00.001Z (over 1 year ago)
- Topics: database, graphql
- Language: JavaScript
- Homepage:
- Size: 572 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book-App
A GraphQL app
### Index
- Content
- Usage
- Screenshots
- Technologies Used
- Authors
## Content
This is a book app where a list of books are displayed and on clicking one of the book, the genre of the book, the author of the book and the different books written by the author are displayed.
The user can also add a book by spcifying the name, the genre and by selecting the author from the list.
## Usage
1. Clone the repo using the command `git clone https://github.com/AtharvaThorve/GraphQL-Test.git`
2. Enter the directory by executing the command `cd GraphQL-Test` on the command prompt.
##### Server Setup
1. Enter the directory by using the command `cd server`.
2. Run the command `npm install` to install required dependencies.
3. Run the command `npm start` to start the server on localhost:4000
##### Client Setup
1. Exit the server directory by the command `cd ..`
2. Enter the directory client with the command `cd client`.
3. Run the command `npm install` to install required dependencies.
4. Run the command `npm start` to start the app on localhost:3000
## Screenshots
Screenshot of the final app.

## Technologies used:
- For FrontEnd:
- React
- Apollo client
- Server Side:
- NodeJS
- ExpressJS
- GraphQL
- Mongoose framework
- Database:
- MongoDB Atlas
## Authors
[Atharva Thorve](https://github.com/AtharvaThorve)