Featured Blogger is a MERN RestFul API-based multi-user blogging app with markdown support.
MERN is a full-stack implementation in MongoDB, Express Js, React/Redux, Nodejs
$ git clone https://github.com/vigneshshettyin/RestFul-Blog.git
$ yarn install
LICENSE
package.json
Back-end/
package.json
.env (To Store Secrets)
Front-end/
package.json
...
Note : Run react and nodejs local server in differnt terminal
$ cd Front-end
$ yarn install
$ yarn start
// Deployment for Front-end app
$ yarn run build // this will compile the react code using webpack and generate a folder called docs in the root level
$ yarn start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site
Note : You need to add a TOKEN_SECRET & MongoDB URI in .env
// in the root level
$ echo "TOKEN_SECRET=YOUR_JWT_SECRET" >> ./Back-end/.env
$ cd Back-end
$ yarn install
$ yarn dev