Giter VIP home page Giter VIP logo

express-react-app's Introduction

Mountain America Coding Challenge

Clone this repo (or download zip) and complete Parts 1 & 2. When you're finished, push your changes up to a public repo we can view or send it to us in a zipped file.


Part 1

Complete the Express API and React App to display a list of animals. Please use hooks instead of component lifecycle methods.

Some placeholder animal data is provided in /server/data.js. (const data = require('./data');)

Requirements:

  • Style the background of every other row
  • At screen widths 600px and greater: the name and age should be adjacent. At screen widths less than 600px: the name and age should be stacked vertically
  • Example list design:
    • Example Design Example Design

Extra credit:

  • Style the list further
  • Add a text search filter to the list
  • Add create, update, and delete functionality

Install the server (generated using express-generator)

> cd server
> npm install

Run the server (http://localhost:3030)

> npm start

Install the client (generated using Create React App)

> cd client
> npm install

Run the client (http://localhost:3000)

> npm start

Part 2

In toy-problems/index.js please complete the first function (isPrime) and be ready to write and discuss some of the remaining functions during the interview.

Install dependencies

> cd toy-problems
> npm install

Test your code

> npm run test

express-react-app's People

Contributors

sbarnwell-macu avatar ksb86 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.