đ„ Content management system (CMS) and blogging application software based on React/Redux, Node.js, Express and MongoDB.
ReactCMS is a free and open-source content management system (CMS) based on React, Node.js, Express and MongoDB.
ReactCMS can be used to create your awesome and fast single-page blogging application. Consider supporting ReactCMS for future improvements. Here are the ways to show some support:
via Patreon | Become a backer or sponsor on Patreon. |
Make a donation via PayPal. | |
Star or Fork | Drop 5TechCenter/ReactCMS a star or fork it on GitHub. |
Spreed the word | Share about ReactCMS to your friends, or give it a little tweet! |
Publish a new article | Become pioneer on publishing articles and forum threads about the blogging application thatâs made with React, Node.js, Express and MongoDB (MERN). |
Thanks for any love and support!
To use ReactCMS, you must first checkout this repository, or download the .ZIP file and extract its contents, and proceed to the following server and client-side installations:
The âserverâ directory contains the source code for your appâs backend Express server.
mongod
running version 3.2.x of MongoDB or above. (Recommended provider to have your own domain and VPS/dedicated server that can be customized to have Node.js and MongoDB for hosting a MEAN/MERN stack application like React CMS.)npm install
to install its dependencies.mongoimport --drop -d reactcms -c sites sites.json
or mongoimport -h <hostname><:port> -d reactcms -c sites -u <username> -p <password> --file sites.json
npm start
or nodemon
to run the Express app which starts your server that can be locally access at: http://localhost:3001The âclientâ directory contains the source code for your React app.
npm install
to install its dependencies.npm start
to start your ReactCMS app.You need to manually modify the created userâs data in the database âusersâ collection. Here are a few guidelines about it:
{
email: CREATED_USER_EMAIL
username: CREATED_USER_NAME,
hash: CREATED_USER_HASH,
role: 'subscriber',
...
}
$set
its role from 'subscriber'
to 'admin'
like the following:{
email: CREATED_USER_EMAIL
username: CREATED_USER_NAME,
hash: CREATED_USER_HASH,
role: 'admin',
...
}
mongod
on your local server:mongo
use reactcms
db.users.updateOne({ username: 'CREATED_USER_NAME' },{ $set: { role: 'admin' } })
Those are the things that you need, you may now post a blog using your administrator account.