/Our-Blog

Blog web app made with React.js

Primary LanguageJavaScript

Our Blog

Blog website where you can post many blogs that are being authored by Axe,Laurel or Noman.

This website is made using React.js, HTML5/CSS3 and Bootstrap 5. The database used is connected to a local JSON-server.

How To Use :

  1. Make sure the PORTS 3000 & 5000 are not being used
  2. Download the files in this repository
  3. Open it in Visual Code Studio (Make sure you have "Node" installed on your computer)
  4. Open a new terminal, and type the command npm install
  5. After the download/installation finishes, type the command npm run website, this will launch both the React app and the JSON-Server.
  6. Wait for the terminal to show you "Compiled successfully!" as the following:
[1]   Loading ./data/db.json
[1]   Done
[1] 
[1]   Resources
[1]   http://localhost:5000/blogs
[1]
[1]   Home
[1]   http://localhost:5000
[1]
[1]   Type s + enter at any time to create a snapshot of the database
[1]   Watching...
[1]
[0] i 「wds」: Project is running
[0] i 「wds」: webpack output is served from
[0] i 「wds」: Content not from webpack is served from D:\Programming\Web Development\myblog-site\public
[0] i 「wds」: 404s will fallback to /
[0] Starting the development server...
[0]
[0] Compiled successfully!
[0]
[0] You can now view web-ui in the browser.
[0]
[0]   Local:            http://localhost:3000
[0]
[0] Note that the development build is not optimized.
[0] To create a production build, use npm run build.
[0]
[1] GET /blogs 304 26.776 ms - -
  1. The website should be up and running in http://localhost:3000/
  2. Done !