SneekPeek is a React on Rails app where users can track upcoming sneaker releases. They have full CRUD capabilities with whatever sneakers they’ve created.
As a long-time sneaker aficionado, I wanted to create an app where I can keep track of upcoming sneaker release dates
For this project I started with creating ERDs for Sneakers and Brands. The back-end was then built using Ruby on Rails.
From there we set about building up the app where we would define our models, controllers and routes for CRUD on Sneakers and show all for Brands.
For the client side, the front-end I used react.js.
After creating both a functional front-end and back-end, I used CSS-Grid and flexbox to style and format my app.
- CRUD functionality for Sneaker
- Read functionality for Brands
- User/Authentication
- Sort functionality
- Additional sneaker pictures
Renders brand name instead of brand_id for sneakers.
renderBrand(brand_id) {
switch(brand_id) {
case 1:
return ('Adidas')
break;
case 2:
return ('Jordan')
break;
case 3:
return ('Nike')
break;
default:
return null;
}
}
- As a person who likes to buy sneakers, I would like to track sneaker release dates
- As a user I want to see a list of upcoming sneakers.
- As a user I want to see a collection of brands.
- As a user I want to sort the sneakers by brand.
- As a user I want to see a description of each brand.
- As a user I want to see pictures of a sneaker.
- As a user I want to add / edit / delete a sneaker.
- Visual Studio Code
- JSX
- Ruby
- Rails
- Axios
- Heroku
- React
- CORS
- Nodemon
- PG-Promise
- PSQL
- Body-Parser
- CSS-Grid
- Flexbox
List of sneakers default rendered. Click around!
- Redirects after update/delete/create
- User Authentication
- Sort by price and date
- Delete and edit brands
-
Reactjs.org
-
https://medium.com/@bruno_boehm/reactjs-ruby-on-rails-api-heroku-app-2645c93f0814
-
General Assembly NYC Lambda Repos
-
Spinner gif from loading.io
GA ©