Home
Softono

MERN Forum

Open source JavaScript
27
Stars
10
Forks
0
Issues
2
Watchers
1 year
Last Commit

 About MERN Forum

MERN forum

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing MERN Forum?

We provide expert installation service for this software. Our team will install, configure, and secure MERN Forum on your server. plans start at just $30.

MERN Forum

View on GitHub

MERN-Forum

Fully responsive, multilingual, NodeJs forum app built using Mongoose, ExpressJs, React, Socket.IO, JWT.

Forum screenshot

Warning

Libraries are out of date. Runs on Nodejs 16

Installation

  • Clone and install dependencies

    • git clone https://github.com/xrystalll/MERN-Forum.git

    • cd MERN-Forum

    • npm install

    • And install for client

      • cd client
      • npm install
  • Fill environment (rename file .env.development to .env)

    • PORT - Express server port
    • BACKEND - The address where located backend
    • CLIENT - The address where located the react client. The backend and client must point to each other and can be the same if running on the same address
    • MONGODB - Your MongoDB url
    • SECRET - You can generate a secret key by execute the /src/modules/utils/generate_keys.js file in console
  • Set backend address for client in file /client/src/support/Constants.js

Launch

  • Go to the client folder cd client

  • Build client production build with the command npm run build or run with the command npm start

  • Run backend with the command npm start or in development mode npm run dev

  • Enjoy 🙌

Use

Make the user an admin manually through the database by setting the role value to 3. Then the admin can assign moderators through the frontend.