This is a custom blog that I've been creating in my free time using the MERN stack (MongoDB, Express, ReactJS and NodeJS).
It has an admin panel where (by now) you can create, edit or delete a post, delete comments, and edit the info that it's shown up in the blog page such as blog name, author, author profession and your twitter handle, which will make appear your twitter feed on the right of the blog page.
For creating and editing posts, it uses EditorJS which is a block-style rich editor that outputs in JSON.
Before anything else, this project uses some environment variables to work properly, such as:
MONGODB_URI=(your MongoDB database uri) ADMIN_USERNAME=(admin username) ADMIN_PASSWORD=(admin password) SECRET_ACCESS_KEY=(your secret key)
-
Production, set it up in your preferred deployment service
-
Development, create a
.env
file
-
npm install
-
npm run build-client
-
npm start
-
npm run server
-
npm run client
This really depends on you, but in any case you'd want to build your client
-
npm run build-client
-
npm start