Skip to content

graphqlworkshop/photo-share-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoShare API

PhotoShare is the main back-end exercise for GraphQL Workshop. In this exercise, students build a GraphQL API for a small photo sharing application.

Iterations

a. Start

  1. Initial Project Folder
  2. Apollo Server 2.0

b. The Photo Type

  1. Counting the Photos
  2. postPhoto Mutation
  3. Photo and allPhotos Query
  4. PhotoCategory enum
  5. Input Type
  6. Adding the Photo Query

c. The User Type

  1. Challenge: Adding the User Type
  2. Solution: user and user queries
  3. Adding the url field
  4. Connecting user to photos
  5. Connecting photo to user

d. GitHub Auth

  1. Adding mongo functions jump ahead link
  2. Configure Github OAuth
  3. Add githubAuth mutation
  4. Add fake users to githubAuth mutation
  5. Identify the currentUser

e. Subscriptions and Custom Scalars

  1. Adding Subscription Support
  2. Uploading File with postPhoto jump ahead link
  3. Adding custom scalar for DateTime

About

The PhotoShare API for GraphQL Workshop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published