Skip to content

The server side of GameStash, a PERN application for collecting games.

Notifications You must be signed in to change notification settings

elijahsimpsonn/gamstashv1-server

Repository files navigation

GameStash Server

This is GameStash, an application for keeping track of your game collection!

You can create and delete consoles, and create, edit, and delete games from the global collection (no user authentication at this time).

The dashboard will keep track of how many games you have in your collection, and you can also document what condition your game is in.


This is my first Full Stack PERN application. This is the server side of the application which uses Node and Express to build the API. I am also using PostgreSQL as the DB and using Knex to make queries. The application also has full "happy path" testing implemented.


For API Calls, the main endpoint is /api/v1/ - Here are the following endpoints:

  • /consoles - Will allow you to GET all consoles or POST a console to the DB
  • /console/:id - Will allow you to GET a console by ID or DELETE a console by ID
  • /console/:id/addGame - Will allow you to POST a game to a console ID, adding that console ID to the game in the database
  • /games - Will allow you to GET all games
  • /games/:id - Will allow you to GET, PATCH, and DELETE a game by ID

This was a project for my Thinkful program. We have requirements for the application so between that and the time limit I was under, I was not able to do everything I wanted. In the next version I am planning on adding user authentication and using a 3rd party API for fetching data for games.

About

The server side of GameStash, a PERN application for collecting games.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published