Forum App

A simple forum app. Built with React and NodeJS.

9
3
JavaScript

Forum App

A simple forum app. This is my first foray into full-stack web development using the MERN stack, as part of my full stack course, FullStackOpen. By the way, it’s such a great course for anybody who knows the basics of HTML, CSS and JavaScript.

Features

  • CRUD functionality of posts (both frontend and backend)
  • Like and comment functionality
  • User authentication using JSON Web Token
  • Clean and usable UI

Stack and Frameworks used

Frontend

ReactJS Redux React-Router Tailwind CSS

Backend

NodeJS MongoDB

Testing

Jest Cypress

Screenshots

Installing this project locally

It’s an easy process.

  1. Install NodeJS and the NPM package manager.
  2. Get your own MongoDB database (you can get one for free at MongoDB Atlas or you can set up one locally)
  3. Clone this git repository
  4. cd back
  5. Set your MongoDB database link and port (3003 by default) variables under the .env file
  6. npm install
  7. npm start

There you go! Hopefully I find time to make a Dockerfile for this lol.

Upcoming Features

  • Fix up some user interfaces (I have trouble with CSS 😕)
  • Dockerfile and automated CI/CD
  • Markdown support for posts
  • Abilty to like and unlike posts (user-unique likes, it’s currently anonymous now)
  • Nested commenting features (quite lazy to do tbh)
  • Better and more secure user authentication