Skip to content

muki01/Game_Store-Angular

Repository files navigation

🎮Game Store

This is my web application with Angular - a website where you can buy games at low prices. Application contains functionalities like creating and logging into your account, adding additional information in the profile page. Creating, updating and deleting offers. Uses a Firebase: Firestore for the Back-End.

You can test this app in this link http:https://gamestore1.rf.gd

⬇️Instalation

Download using this code:

git clone https://github.com/muki01/Game_Store-Angular.git

Install using this code:

npm install

Start using this code:

ng serve

Open in browser using this link:

localhost:4200

👨‍💻Test Profiles

I will not give an account that is an administrator because there are people who delete all posts. 😁

Navigation

  • Not logged in user header
  • Logged-in user (not Admin and not Creator) header
  • Logged-in user (Admin or Creator) header

Home Page

This page is public for all users.

home

Login Page

The user logs in with their email and password.

  • Email address must be a valid one.
  • Password should be at least 6 characters.

login

Register Page

The users registers in with username, email, password and confirm password. Valid inputs are:

  • Username and Email must not have been used.

  • Username should be at least 3 characters.

  • Email address must be a valid one.

  • Password should be at least 6 characters.

  • Confirm password and password should match.

  • All fields have to be entered.

Register

Create new game

Page only available for logged in Admin and Creator users. Create offer form expects as input: name, gameType, imageURL, description, price and downloadURL for the game.

  • Name should be at least 3 characters.
  • Descrition should be at least 10 characters.
  • URL fields must start with 'http:https://' or 'https://'
  • All fields have to be entered for the game to be created.

Create Game

Profile Page

Page only availabel for logged in users. Users have Balance and can add or update information for them and upload profile picture. If you have enough balance you can buy games

Profile

Game Category Page

This is one of the categorized games pages. This page contains only the selected category of games. For example in the picture shown (action games)

Category Page

  • If there are no games

No Games

Details Page

This page contains the details for each game offer. Where logged in users can like, buy and download the game If logged in users is Admin, can edit or delete all posts. If the logged in user is a Creator, they can only edit or delete posts they created.

  • Not Logged in user

Game Details (Not logged)

  • Logged in user (Not Admin or Creator)

    Game Details

  • Logged in user (Admin and Creator)

Remo,Edit Btns

  • If game is purchased

Purchased Game

Edit Page

Edit page where logged in Admin or Creator users can update Game offers

Edit Page

404 Not Found

404 page comes when you try to access routes that don't exist.

404 page