Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1 KB

README.md

File metadata and controls

49 lines (32 loc) · 1 KB

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!🙌