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.
- Host: GitHub
- URL: https://github.com/kavindumadushanka972/reading-list-gql
- Owner: kavindumadushanka972
- Created: 2023-10-07T05:08:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T05:32:03.000Z (over 1 year ago)
- Last Synced: 2025-02-08T16:45:22.514Z (4 months ago)
- Topics: apollo, grapghql, mongodb, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 1.35 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
You can interact with the database using this interface like this.

### 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`.


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