https://github.com/bfrymire/dojo-blog
Blog website created in React based off The Net Ninja's Full Modern React Tutorial
https://github.com/bfrymire/dojo-blog
Last synced: over 1 year ago
JSON representation
Blog website created in React based off The Net Ninja's Full Modern React Tutorial
- Host: GitHub
- URL: https://github.com/bfrymire/dojo-blog
- Owner: bfrymire
- Created: 2023-02-08T22:48:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T18:28:36.000Z (about 2 years ago)
- Last Synced: 2025-01-29T12:33:38.746Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 519 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dojo Blog
This project is based off The Net Ninja's [Full Modern React Tutorial](https://youtube.com/playlist?list=PL4cUxeGkcC9gZD-Tvwfod2gaISzfRiP9d).
## Setup
Install npm dependancies:
```bash
npm install
```
## Run Application
Start your React app:
```bash
npm start
```
Open a new terminal to start the JSON database:
```bash
npx json-server --watch ./data/db.json --port 8000
```
Notice that we are specifying port 8000 to run on. This is because port 3000 is usually used by React by default.
In order to simulate a delay to the server to view your loading states, add `--delay x`, where `x` is the amount of delay in milliseconds to add.