Skip to content

SPA for storing and managing games keys, frontend part

Notifications You must be signed in to change notification settings

laFreeFall/keysstash-vue

Repository files navigation

KeysStash

SPA built with Vue.js that provides the opportunity of storing new and managing existing game keys.

If often happens, when you get a key for a game you already have or you just want to put a key on a hold for a while. Firstly you may choose a simple notepad for that, but it becomes too messed up and complicated over time. Here is our turn! This web app allows you easily manage your virtual stash of games and keys. You have access to all Steam games from it store to quickly add them to your stash and begin earning keys.

KeysStash

What project uses

Frontend

Backend

Installation

Download the project git clone lafreefall/keysstash-vue projectname

cd projectname

  • Frontend
  1. Go to the project folder and install all the dependencies npm install

  2. Do all the necessary backend preparations decribed here (pay close attention to 7 and 9, because it affects frontend part (pasting password grant secret and axios baseurl).

  3. Run a watcher to monitor your code changes and show on the fly npm run serve

If you need to bundle a final file npm run build

Brief project description with its main features

If you want don't want to encounter with longreads below, follow the link and watch an album of screenshots on imgur without huge amount of text.

Stash front page

Stash front page Here all of user's keys are displayed with next features:

  • Filtering by keys status (show only used keys, only brand new or both)
  • Filtering by game platform (show only games listed on Steam, only Non-Steam games or both)
  • Sorting by amount of keys, title of the game and date when user add the game (all the options available in both ascending and descending orders)
  • Live search by game title (is not case-sensitive)
  • If the game is listed on Steam, on the left of its title Steam icon will be displayed that leads to the Steam Store page of the game.
  • If the game is listed on Steam, the only format of keys it accepts is three groups consisting of five capital letters or digits like ABC12-DEF34-567GH
  • If the game has no keys stored at the moment, its card color scheme will be switched from blue to gray

Adding new game

Adding new game User may easily add new game to its stash if he wants with some extra features:

  • If the game is not listed on Steam, you may switch to right tab and fill only required Title attribute to add it.

  • If the game is listed on Steam, two options. If the game is still presented on the Steam Store, you may just start typing in the top input, and it'll suggest you games from the Steam database. If the game was previously deleted from the Steam Store, you may check corresponding box, because search input won't be useful in this case and type game title on your own.

  • If the game is listed on Steam, after picking it from select dropdown, all the other fields will be filled automatically (like steam appid, link and image).

  • Right after filling the Title input, preview of the game card will be shown below. You may add url to an image to replace the default one and it will be instantly displayed on the preview card.

  • If you started searching for a game in your stash but failed to find it, the tip will appera that will contain a link right to the adding new game page and the game title will be already filled with your previous search input.

    Managing game's keys

Managing game's keys You may use existing keys or add new ones right from the front page via card interface. Available features are listed below

  • If the game has more than N keys (3 by default), all the others will be hidden and available by clicking on the corresponding button

  • Copying key to the buffer by clicking on the copy icon on the left of the key line

  • Toggling key used status (setting it as used or as brand new) by clicking on the toggle icon on the right of the key line

    Authorization

Authorization Brief description of how authorization works in the app.

  • User may log in its profile by filling the login form with email and password
  • Backend checks incoming data for the matching with the existing users records.
  • If it doesn't fail it generate an access and refresh tokens and send it back to the user.
  • User stores tokens in local storage to keep them after closing a browser tab and set authorization header with bearer access_token to all requests to allow server recognize an authenticated user
  • If user logs out, local storage clears and authorization headers resets.

If you want to see more - watch the full screenshots album on imgur.

About

SPA for storing and managing games keys, frontend part

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published