Kidsy is a shopping website for Kids Products. I used React and Redux on the frontend with Ruby on Rails on the backend, utilizing PostgreSQL as my datbase,AWS to store images.
- Secure frontend to backend user authentication using BCrypt.
- Users can create, edit,delete and see products that they have.
- Users can add products to shopping cart.
- Users can also search for products by the name.
- Users not logged in will be redirected to sign in/register if trying to sell products.
// USers cann't list their product without loggedIN
const Protected = ({ component: Component, path, loggedIn, exact, redirectToModal }) => (
<Route path={path} exact={exact} render={(props) => (
loggedIn ? (
<Component {...props} />
) : (
<Test redirectToModal={redirectToModal} />
)
)} />
);
In the future I would like to add:
- Show cart page
- Comments/Reviews
- Add Loading