Giter Site home page Giter Site logo

jtwhittington / photo-share-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erincall/photo-share-api

0.0 0.0 0.0 108 KB

The main back-end exercise for GraphQL Workshop.

Home Page: https://www.graphqlworkshop.com

License: MIT License

JavaScript 80.52% HTML 19.48%

photo-share-api's Introduction

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. Basic GraphQL Yoga Setup (diff) (files)
  3. Structure, Move Schema (diff) (files)
  4. Structure, Move Resolvers (diff) (files)
  5. Extend Express, Add Home Route (diff) (files)
  6. GraphQL Yoga Options (diff) (files)

b. The Photo Type

  1. Counting the Photos (diff) (files)
  2. Posting a Photo (diff) (files)
  3. Handling Photo Categories (diff) (files)
  4. Using an Input Type (diff) (files)
  5. Listing All Photos (diff) (files)
  6. Querying a Single Photo (diff) (files)

c. The User Type

  1. Adding the User Type (diff) (files)
  2. Adding Some Sample Data (diff) (files)
  3. Listing All Users (diff) (files)
  4. Querying a Single User (diff) (files)
  5. Add User to postPhoto Mutation (diff) (files)
  6. Adding postedBy Connection (diff) (files)
  7. Adding postedPhotos (diff) (files)

d. Tagging Photos

  1. Adding Sample Tags (diff) (files)
  2. Finding Users Tagged in a Photo (diff) (files)
  3. Finding All Photos where a User has Been Tagged (diff) (files)
  4. Adding the Tag Photo Mutation (diff) (files)
  5. Adding a Custom Scalar (diff) (files)

e. Incorporating a Database

  1. Environment Variables (diff)(files)
  2. Adding a Database Connection to Context (diff) (files)
  3. Querying Data (diff) (files)
  4. Posting Photos to the Database (diff) (files)
  5. Adding Fake Users (diff) (files)
  6. Tagging Photos with the Database (diff) (files)

f. Github Authorization

  1. Environment Variables (diff) (files)
  2. Adding Github Authorization Mutation (diff) (files)
  3. Authorizing with Github (diff) (files)
  4. Authorizing Fake Users (diff) (files)

g. Enhancements

  1. Adding Subscription Support (diff) (files)
  2. Publishing Events (diff) (files)
  3. Modifying the Schema to Support File Uploads (diff) (files)
  4. Uploading File with postPhoto (diff) (files)

photo-share-api's People

Contributors

eveporcello avatar moontahoe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.