Skip to content

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ GraphQL API Project (Node.js + Express + React)

This project is a full-stack application built using Node.js, Express, and React with Apollo Server and Apollo Client for GraphQL integration.

It provides a GraphQL API that manages:

  • πŸ‘€ User details
  • βœ… Todos

πŸ“¦ Features

  • GraphQL API using Apollo Server
  • React frontend using Apollo Client
  • Fetch and display Users and Todos
  • Simple full-stack architecture (client + server)

πŸ› οΈ Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm (comes with Node.js)

πŸ“₯ Getting Started

Install Yarn globally:

npm install -g yarn

Clone the repository

git clone <repo-url>

▢️ Run the Project

πŸ”Ή Start Backend (Server)

cd server
yarn install
yarn start

This starts the GraphQL server.

πŸ”Ή Start Frontend (Client)

Open a new terminal:

cd client
yarn install
yarn start

This starts the React app in your browser.

🌐 Usage

Once both server and client are running: React app will open in browser It will fetch and display Users and Todos from the GraphQL API


πŸ“ Project Structure

/server   β†’ Node.js + Express + Apollo Server
/client   β†’ React + Apollo Client

πŸ’‘ Notes

Make sure the server is running before starting the client

Default ports: Server: http://localhost:8000 Client: http://localhost:3000


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages