Giter Site home page Giter Site logo

thought-box's Introduction

ThoughtBox

Install

First things first => npm install

To run your server => npm start

To run your test suite => npm test

This application was built with create-react-app

Goals

The goal of this mini-project is to TDD a simple react application from the ground up. At the end of the day you will have a fully tested version of Ideabox.

We will be using the testing frameworks Jest and Enyzme to test each component.

Get Started

Start off with the CreateThought.test.js. Your first task is to get the first test to pass.

Once those tests are passing, work through following two files:

  • thoughtList.test.js
  • thoughtCard.test.js

Once those are also passing, continue to build out the app, testing each component as you go. Once your App component is completely built, finish by writing a full integration test that verifies that the user flow is fully functional.

Hint: A user story would look something like this:

  • As a user, when I am on the root page, I should see a form.
  • And I should be able to enter in a title
  • And I should be able to enter in a body
  • And I can click the Submit button
  • And then I should see a new thought with the expected title and body

Extension:

  • Add a delete button to your ThoughtCard component
  • Add a edit button to your ThoughtCard component
  • CSS the shit out of it.

thought-box's People

Contributors

martensonbj avatar tman22 avatar

Watchers

James Cloos 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.