Node: For javaScript runtime environment
JavaScript: For Scripting and programming
React: For reusable UI components
Redux: For central state management
JSON: TO store data
json-server: To host the json file
HTML & CSS: For web page skeleton designing ans styling
To run this project, you will need to add the following environment variables to your .env file
Variable | Description |
---|---|
REACT_APP_API |
http://localhost:8000 |
Clone the project
git clone https://github.com/Chaudhary456/blog-spot-redux.git
Install dependencies
npm install
Make sure All Environment variables are defined in .env extension file
Start the application after setting all the environment variables
npx json-server --watch data/db.json --port 8000 to run json-server.
npm start to run react app.
npm run dev to run both json-server and react app simultaneously.