Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xrystalll/mern-forum
MERN forum
https://github.com/xrystalll/mern-forum
express forum jwt mongodb mongoose nodejs react rest-api
Last synced: about 2 months ago
JSON representation
MERN forum
- Host: GitHub
- URL: https://github.com/xrystalll/mern-forum
- Owner: xrystalll
- Created: 2021-02-06T18:30:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-03T18:22:47.000Z (almost 3 years ago)
- Last Synced: 2023-03-07T20:30:35.783Z (almost 2 years ago)
- Topics: express, forum, jwt, mongodb, mongoose, nodejs, react, rest-api
- Language: JavaScript
- Homepage: https://xlll-forum.herokuapp.com
- Size: 3.71 MB
- Stars: 19
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERN-Forum
Fully responsive, multilingual, NodeJs forum app built using Mongoose, ExpressJs, React, Socket.IO, JWT.
![Forum screenshot](/screenshot.png)
## 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 🙌