Skip to content

jeansantana/istim-games

 
 

Repository files navigation

istim-games

Build Status

Game manager API for the Istim Gaming Platform.

Server URL

http://istim-games.nodejitsu.com

Services

Games

  • Publish game
    • POST to game/create
  • Edit game info
    • PUT to game/:id
  • Remove game
    • DELETE to game/:id
  • Like a game
    • POST to game/:id/like
  • Get all available games
    • GET to game/
  • Get a game
    • GET to game/:id
  • Soon:
    • Buy Games
      • POST to game/:id/buy
  • Obs:
    • Only authenticated users can like a game.
    • Only an (authenticated) user classified as game developer can create, update or delete a game.
    • Only the game's owner can edit or delete his/ her own games.

Achievements

  • Create achievements for a game
    • POST to achievement/create
  • Edit achievements info
    • PUT to achievement/:id
  • Remove achievement
    • DELETE to achievement/:id
  • Get available achievements for a specific game
    • GET to game/:id/achievements
  • Get all available achievements
    • GET to achievement/
  • Get a achievment
    • GET to achievement/:id
  • Obs:
    • Only authenticated users can like an achievement.
    • Only an (authenticated) user classified as game developer can create, update or delete an achievement.
    • Only the game's owner can edit or delete his/ her games' own achievements.

Dependencies

User API

  • Authentication

Examples of game and achievement


   var game = {
    name: 'Joguim dos Leleks - Lesk\'s Origin',
    description: 'Joguim dos Leleks, a origem das lelekagens',
    releaseDate: new Date(),
    userId: 1,
    likes: 0,
    id: 1,
    systemRequirements: "Um PC da Xuxa"
  };
  var achievement = {
    title: 'Let\'s Lek',
    decription: 'Domine o poder da zuera',
    icon: 'http://imgsapp.oimparcial.com.br/app/noticia_130321921166/2013/02/15/129893/20130215154254551863i.jpg',
    game: 5,
    id: 1
  }

About

Game manager API for the Istim Gaming Platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published