A lightweight message board made with MongoDB, Express, React, and NodeJS.
- Node: Backend environment.
- Express: Requests management
- Mongoose: MongoDB connection and object modeling
- CORS: Library to allow CORS
- Nodemon (dev): Library to hot reload the server on change
- MongoDB: A NoSQL database
- Docker: Project bundler in OS-level virtualization containers to work in any environment
Default ports:
- Backend:
8000 - Frontend:
3000 - MongoDB:
27017
git clone https://github.com/alesbe/mini-message-board.git
cd mini-message-board
docker-compose up
You'll need 3 different terminals, because each part works individually and does not support detached mode without docker.
Download mongodb and start the process
mongod
git clone https://github.com/alesbe/mini-message-board.git
cd mini-message-board
Go to server folder and install dependencies
cd server
npm install
Then, start the server
node server.js
Go to project root folder and cd into client, then, install dependencies
cd client
npm install
Then, start the client
npm start
