Read the full article on DuraSoft, here: http://durasoftindia.com/blogposts/reactjs_redux_demo_app_2.html
In the previous post, we set the premises for React-Redux application. Let’s discuss creating a job dashboard. We’ll concentrate on the front-end in this post.
The front-end application uses React and Redux and does the following.
- Display a list of job postings from the server
- Create a new job posting
- Delete job posting
- View job posting details
We’ll create an Express JS application that talks to an SQLite3 database. The jobs data is stored in SQLite3. We’ll get to this part quickly. For now, let’s assume that ExpressJS or the server application is running in http://localhost:3001. Our front-end application will perform calls to the server application.
create-react-app
Let’s create a React application, jobs-reactjs using the NodeJS utility, create-react-app. As we’re using Redux framework, let’s install the redux and react-redux modules. Shown below is the package.json file.
Continued at the link above.