This is a blog application using React & Redux. This is the client-side only. The server-side can be found here.
First of all, you are going to need npm
installed. Check here to install. This application was tested on a Node 10 environment.
After npm
installed, install the application dependencies and build the bundle with:
npm i
npm run build
To serve the bundled application, install serve
. Check here to install, or simply run:
npm i -g serve
Then serve the application:
serve -s bundle
Read serve
instructions on the terminal to get access to the application and have fun! :)
- Display a list of 10 latest posts
- Every post should have short body preview limited by 100 chars
- Post title should be linked to the post details view
- Display "load more" button. Every click on this button should load 10 additional posts
- Display post details
- Show 3 latest comments under the post
- Display load button. Every click on this button should load 10 additional comments
- You can leave a comment for a post, with at least 5 chars
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.