Skip to content

Commit a4f4f63

Browse files
committed
Added README.md
1 parent f4b6c74 commit a4f4f63

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

README.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## Reading List Application
2+
3+
### 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.
51+
* navigate to `http://localhost:4000/` .
52+
File renamed without changes.

0 commit comments

Comments
 (0)