Code Monkey home page Code Monkey logo

create-face-shop-react's Introduction

React product grid

This is my submission to the Creatella take-home assignment. It is built with React.

Here is the original question for the take home assignment.

To run this app, first clone the repository on your local machine. Then run the following commands:

npm install

Start the server application:

npm start-server

Start the client application:

npm start

The server application runs on localhost:3000. The client application runs on localhost:4349. This can be modified by changing the PORT value in the .env file.

This will start a local development server. Go to localhost:4349 to see the app running.

The features implemented are:

  • Product list grid

  • Product sorting using the following parameters: size, price, id. These are sorted in ascending order. There is an option for descending order, but it is currently disabled, since the API does not implement it

  • The font sizes of faces are displayed based on the “size” attribute of the product

  • The prices are formatted in dollars e.g $3.51

  • The date field is relative e.g “3 days ago” but if more than 7 days, then the full date is displayed.

  • The product grid automatically loads more products as the users scrolls down

  • At the end of the catalouge, the message: “~end of catalogue~” is displayed.

Ad features

  • Ads are displayed after every 20 products.

  • Ads are randomized and are guaranteed to be unique

create-face-shop-react's People

Contributors

okezieokpara avatar okeziestanley avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.