Git Product home page Git Product logo

todo-app-react's Introduction

React Todo App

Today's objective is to apply the fundamentals of what we learned so far by building a Todo app in React.

Why build a todo app?

Because it is the prototypical CRUD app that will test your web development skills with a different technology in a familiar domain.

User Stories

Ultimately, it is up to you how your application should function but the app should meet the specs for the following user stories:

Bronze

  • As a user, I should be able to see all my incomplete todos
  • As a user, I should be able to add a new todo to the list
  • As a user, I should be able to mark a todo as completed
  • As a user, I should able to edit a todo's content
  • As a user, I should be able to delete a todo

Silver

  • As a user, I should be able to also see a list of my completed todos
  • As a user, when I mark a todo as complete, it should be added to my completed todos list
  • As a user, when I mark a completed todo as incomplete, it should be added to my todos list

Gold

  • As a user, I should be able to make a new list
  • As a user, I should be able to edit a list
  • As a user, I should be able to delete a list.

Platinum

  • As a user, when I refresh the page, I should be able to have my application's state be persisted
  • As a user, I should be able to drag and drop todo items between lists.

Submission

Submit a pull request against this repo by 5:00PM with your code and a link to your deployed app.

Also in the submission, please include your overall comfort and completion as well as any questions or specific areas designated for feedback.

Getting started

Fork and clone this repo then run the necessary local setup:

$ git clone [email protected]:ga-wdi-exercises/todo-app-react.git
$ cd todo-app-react
$ npm i
$ npm start

Note: If every thing was installed correctly, you should now be able to view starter application on http://localhost:3000. The app does not currently do much yet...

Start by defining your app's initial component in src/App.js and the app's entry point in src/index.js

Hint: There is some sample markup in starter_resources/layout.html for your use if you choose to do so.

Deploying to GitHub Pages

First, open your package.json and add a homepage field. It could look like this:

{
  "name": "my-app",
  "homepage": "http://myusername.github.io/my-app",
  // ...
}

Now, whenever you run npm run build, you will see a cheat sheet with a sequence of commands to deploy to GitHub pages:

git checkout -B gh-pages
git add -f build
git commit -am "Rebuild website"
git push origin :gh-pages
git subtree push --prefix build origin gh-pages
git checkout -

todo-app-react's People

Contributors

andywhitley avatar nolds9 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.