RegrEtsy is a single page fullstack application inspired by the website "Etsy". As Etsy allows users to buy and sell handmade or vintage items and supplies, RegrEtsy is a place you go to buy things you'll most likely regret.
Implementing an MVC architecture, I used React and Redux on the frontend with Ruby on Rails on the backend, utilizing PostgreSQL as my datbase.
- Users can log in and remained logged in if they leave site.
- Users can add/remove/update items in their cart
- Users can search for items using the searchbar
- Users can leave star ratings and reviews on products.
- Users not logged in will be redirected to sign in/register if trying to access the cart.
Users are able to browse the site without being logged in. They have access to the searchbar, category links, and can view a item's detail page. Once a user tries to access the cart without being logged in, they are met with a sign in/register modal. A user can then log in with the correct credentials, or create a new account. A user also has the option to click the demo button which instantly logs them in as a demo user.
When you click on an item from the search results, caterogies or the home page, you will be redirected to that item's detail page. It gives a brief description of the item, the name of the seller and it's price. You can change the quantity and add that item to your cart for purchase.
Users have the ability to rate products and leave reviews. Once a review has been posted, only the author of the review is able to delete it. The review posted will have a 1 to 5 star rating given by the user, along with the user's name and the date it was written.
Clicking "add to cart" from the product detail page will render the the shopping cart component. Inside the shopping cart users will be able to increase or decrease an item's quantity, or remove the item from the cart. Number of items in the cart are displayed, with the subtotals associated with each item. When a user is ready to checkout, the checkout button will empty the cart simulating a purchase.
Users can browse through items by using the navbar category links or entering a products name in the search bar. A list of products will be displayed in either case, allowing users to click on them to get details.
Some of the features i'd like the add in the near future are:
- Allowing users to upload photos and sell items
- Ability to view other sellers profiles and the items they are selling
- Display the number of cart items on the cart icon.