Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/personalyisus/react-test-todo-app
A repository for the react todo app made for a test
https://github.com/personalyisus/react-test-todo-app
Last synced: 4 days ago
JSON representation
A repository for the react todo app made for a test
- Host: GitHub
- URL: https://github.com/personalyisus/react-test-todo-app
- Owner: personalyisus
- Created: 2018-04-21T16:53:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T17:35:57.000Z (over 6 years ago)
- Last Synced: 2024-02-04T20:05:19.323Z (10 months ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Jesus Marin's React Test
======## How to run the app
To build the app, first install everything with **npm install** and then run
>**npm run build**in the terminal
___To Actually start the server and be able to see the app working, run
> **npm run start**in the terminal. It will be available in http://localhost:3000/
___
___
## What is this:
This repository contains the source code for the todo app for the React test### Things that I used
#### React
Firstly, I used ReactJS because that's what the test was supposed to be about: React.#### Webpack
After that, to build a todo app all that was needed was just a basic webpack configuration to bundle everything. I transpiled/compiled the code with Babel and opted to use the *transform-object-rest-spread* babel plugin because it makes mapping objects way easier.#### ExpressJS
To set up a quick server that whoever downloads this todo app can run easily, I used Express and just made a short script that serves the static files needed for the application to run locally in port 3000#### Git
Version control#### Why not use Redux/other stuff/etc
For a simple todo app there was no need to use any other thing, really! State can perfectly be managed with the components' own state here as there wasn't much state going around and, if anything, for a project of this size using more than the basic stuff could actually have been detrimental to the goal of finishing the test in time.> Use the force, Luke.