Skip to content

JethroF22/blogosphere

Repository files navigation

Blogosphere

A blogging web application built with the MERN stack

Installing

  • To install, run npm install
  • To run the Express server, run npm start
  • For the React app:
    • To run the development app, run npm run dev-server. The React app will then be served using webpack-dev-server
    • To run the production app, run npm run build to bundle the React app using Webpack. The bundled code will then be served by the Express server
  • To run the back-end tests, run npm run test-express`
  • To run the front-end tests, run npm run test-react`

Built With

User Roles

  • Unauthenticated users can:
    • Create an account
    • Read articles
    • View user profiles
  • Authenticated users can do everything unauthenticated users can do, as well as:
    • Create/edit/delete/like articles
    • Create/edit their user profiles
    • Follow other users