Skip to content

ryanomackey/games-lib-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is the server-side code for my capstone project while at Galvanize. Client-side code can be found here.

screenshot

API

Protected Routes (requries JWT)

/api

Search Giant Bomb for games:

GET /api/search?query=Grand%20Theft%20%Auto

Search Twitch for streams:

GET /api/twitch?q=Grand%20Theft%20%Auto

/games

Retrieve all titles for a given user:

GET /games

Add a new title to a user's library:

POST /games

Update ownership/completion for a title in a user's library:

PUT /games

Delete a title from a user's library:

DELETE /games

/steamImport

Import a single steam game into a user's library:

GET /steamImport/single

Retrieve a list of owned games for a given Steam ID:

GET /steamImport/:id

/wishlist

Retrieve a list of games and their Amazon prices/users for a given user's unowned games:

GET /wishlist/amazon

Unprotected Routes

/authenticate

Signup for an account:

POST /authenticate/signup

Login to an account (returns a JWT):

POST /authenticate/login

/steam

Send client to Steam to authenticate:

GET /steam

Return address for Steam Passport Strategy:

GET /steam/return

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published