You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Developed a Simple Reading list Application using `AngularV6` + `ApolloClient` as FrontEnd and `NodeJs` + `Express` + `GraphQL` + `MongoDB` as Backend
4
+
5
+
#### Functionalities:
6
+
7
+
* Get Books List using GraphQL Query
8
+
* Add Book
9
+
* Add Author
10
+
* Get Book - which return the book details and authors detail and similar books return by this author.
11
+
12
+
13
+
#### GraphQL Queries:
14
+
15
+
* GraphQL Query for **getBook**
16
+
17
+
```
18
+
query($id: ID) {
19
+
book(id: $id) {
20
+
id
21
+
name
22
+
genre
23
+
author {
24
+
id
25
+
name
26
+
age
27
+
books {
28
+
id
29
+
name
30
+
genre
31
+
}
32
+
}
33
+
}
34
+
}
35
+
```
36
+
37
+
#### Folder Details:
38
+
39
+
* Server -> Server Folder is nothing but backend `NodeJS + Express` Application, and used `GraphQL` for Querying the data from the `MongoDB` Database.
40
+
* Client -> Client folder is Angular6 Front end Application
41
+
42
+
43
+
44
+
#### Installation:
45
+
46
+
* run `npm install` inside both **client** and **server** folders
47
+
48
+
* run `ng build -prod` inside the client directory to build the Angular application and build files will be saved into the `server/public` directory.
49
+
50
+
* After that run ```node app.js``` inside the server folder to run the node application.
0 commit comments