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://gamestore1.rf.gd
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
I will not give an account that is an administrator because there are people who delete all posts. 😁
- elon123@gmail.com pass: 123456; (Creator)
- tony123@gmail.com pass: 123456; (User)
This page is public for all users.
The user logs in with their email and password.
- Email address must be a valid one.
- Password should be at least 6 characters.
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.
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://' or 'https://'
- All fields have to be entered for the game to be created.
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
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)
- If there are no games
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
- If game is purchased
Edit page where logged in Admin or Creator users can update Game offers
404 page comes when you try to access routes that don't exist.