Senex-x / stalker-shop

Shop website with design inspired by the STALKER video game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STALKER-SHOP

Shopping website with design inspired by the STALKER video game. Done for study as first semester work during the second university course in Java development.

Authentication page

First page to see after launch. Here we can both log in to an existing account, or, if you don't have one, go to the registration page. Also, authentication cookie is created, to avoid constant re-login.

alt text

Mobile-size variant, as all the pages are perfectly scaled automatically :

alt text

Registration page

Registration page required to create new accounts. If registration is successful, the newly added user is saved in the database.

alt text

Profile page

After successful authentication, you are taken to the profile page:

alt_text

Mobile automatically scaled variant:

image

Here, by pressing according buttons, you can change avatar, go to the catalog and cart pages or log out of the account. Also, you can change avatar by pressing on your actual avatar image.

Image update page

So, let's try it. After clicking, we get to the photo upload page:

alt_text

Upload button appear only when file is chosen:

alt_text

And then you are redirected bach to the profile page, with a fresh image displayed:

alt_text

Pretty cool! This time let's try to press the 'delete profile image' button:

alt_text

alt_text

That's it! Now, image is back to the default one.

Catalog page

Let's move on to the catalog page:

alt_text

A bunch of items present here:

alt_text

Mobile-scaled variant:

image

Here we can select items and add them to a cart.

Item information page

We can click on any item, and it's information page will open, in which we can also add it to cart:

(Do not worry, page is conveniently scrollable) alt_text

alt_text

In catalog or cart pages we could notice that when you scroll through them, there is a button in right bottom corner allowing you to quickly return to the top of a page:

alt_text

Let's add Gauss gun to the cart.

alt_text

And then go check the cart page.

Cart page

alt_text

Looks like it's too expensive... I think I'll pick something else:

alt_text

Here we go. As you can see, here is total cost, buttons to remove one item, to remove all and to buy them. Let's delete one item. Also notice that total price and item count is updated according to user's actions.

alt text alt text

After buy button press cart is emptied:

alt text

Also, here is a mobile-sized variant:

image

Finally, let's sign out of our profile:

alt text

As the result we are redirected back to the 'Sign in' page:

alt text

Some miscellaneous features

The site icon was added, so you can see it in the tab bar:

alt text

Note, that every button have hover effect:

alt text

The same goes for pushing a button, but with a slightly lighter color:

alt text

As you can see, our project uses user-specific tokens stored among browser Cookies to automatically authenticate users:

alt_text

Also, the application has animations when removing items from the cart, or after image is selected.

About

Shop website with design inspired by the STALKER video game


Languages

Language:Kotlin 37.2%Language:Java 34.1%Language:FreeMarker 11.6%Language:CSS 10.7%Language:JavaScript 6.4%