An open API service indexing awesome lists of open source software.

https://github.com/kavindumadushanka972/reading-list-gql

A complete application with a GraphQL server on Node.js, a React front-end (using Apollo), and MongoDB for data storage.
https://github.com/kavindumadushanka972/reading-list-gql

apollo grapghql mongodb nodejs react

Last synced: 3 months ago
JSON representation

A complete application with a GraphQL server on Node.js, a React front-end (using Apollo), and MongoDB for data storage.

Awesome Lists containing this project

README

        

## Reading List App

#### This is a complete application with a `GraphQL` server on Node.js, a React front-end (using Apollo), and MongoDB for data storage.

### Getting Started With Backend

```bash
cd server
```
You should create a `.env` file including below variables.

- **`MONGODB_URL`**: This variable should contain your mongodb connection string for accessing database.

After that run below commands

```bash
npm install
node app
```
Server will be up and running on `http://localhost:4000`. Go to `http://localhost:4000/graphql`. You will see an interface like this.

![01](images/01.png)

You can interact with the database using this interface like this.

![02](images/02.png)


### Getting Started With Frontend

```bash
cd client
```
run below commands

```bash
npm install
npm start
```

React application will start and running on `http://localhost:3000`.

![03](images/03.png)

![04](images/04.png)

There you go! 🚀. Now you can easily add books to the list and explore the app. Thank You!🙌