Skip to content

A full stack blogging website built with Node.js and ReactJS.

Notifications You must be signed in to change notification settings

SaurontheMighty/blogging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hooloovoo

A blogging application built with Node + React by Ashish

Full Stack Web Application: MongoDB, Express, React, Node.js (MERN).

Running on your machine:

  1. npm install to install dependencies in /backend
  2. nodemon server to run the backend
  3. npm run start to run the frontend

Anatomy:

Backend:

The backend is a Blogging API that uses mongoose to connect to MongoDB Atlas and express and Node to create the backend.

MongoDB: No-SQL database.
Express: Framework for Node.
Node: Run-time environment for JS in the server.

Node Dependencies
-> Mongoose: Object Data Modelling library to simplify working with MongoDB.
-> Morgan: Logger to help debug.
-> dotenv: To protect MongoDB and other API secrets. -> Nodemon: Live reload server to speed up development. -> CORS: To facilitate communication between React and Node in development when they are served on different ports.

Frontend

React: JavaScript library for building user interfaces.

Uses Fetch to interact with the Backend, creating, getting and deleting blogs.

React Dependencies
-> React-Router-DOM: For routing inside the Single Page Application.

P.S. The name is from Hitchhiker's Guide to the Galaxy
(I highly recommend the book if you haven't read it!)

Documentation

Routes HTTP Methods Description
/blogs GET Gets all the blogs
/blogs POST Creates a blog
/blogs/:id GET Gets a blog
/blogs/:id PUT Updates a blog
/blogs/:id DELETE Deletes a blog

About

A full stack blogging website built with Node.js and ReactJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published