Skip to content

midoru0121/apollo-react-minimal-ts-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Apollo React Minimal TypeScript Example

This repository is for learning Apollo with TypeScript, including two project, "server" and "client" apps.

Getting Started

1: Start Server

Firstly, boot apollo server with the following commands.

cd server
npm install # or yarn
npm run db:initialize
npm start

Apollo server will boot on localhost:4000

2: Start Client

Next, boot React App at client.

cd client
npm install # or yarn
npm start

Then, browser will open http://localhost:3000 and data from apollo server will be displayed.

Stacks

Server

  • Apollo Server v2
  • Sequelize
  • SQLite3

Client

  • React
  • React Apollo
  • react-apollo-hooks

Article

Blog (日本語)

About

apollo-react-minimal-ts-example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published