Skip to content

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

Notifications You must be signed in to change notification settings

kavindumadushanka972/reading-list-gql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

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

02


Getting Started With Frontend

cd client

run below commands

npm install
npm start

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

03

04

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published