Author: Authors: Phu Lam, Nickzad Bayati, Mohammed Sultanov, Ryan Frank Mereddium is a blog/discussion/informational website where users can go to and register an account. They can view, read, and comment on other people's posts. Posts can typically be displayed in filters that are relevant to viewers. The website can be used as a personal blog, where an individual creates an ongoing online diary or commentary about what they are interested in. It can also be a discussion on different topics such as politics, technology, or advocacy, etc.
Note: This app is depoyed to heroku. But Heroku no longer offer a free tier on November 28, 2022. So we only let the app locally. .env files are left in the repo on purpose. Follow the step below to do so.
MERN stack
Clone the project using this command:
https://github.com/phulam11031996/blog-website.git
1) npm 2) Node.js
Inside the root directory
cd backend
npm install
npm run dev
That should start the back-end server. Note: the default port will be 3030
Open another terminal and type the following commands (make sure you are in the root folder):
cd frontend
npm install
npm run dev
That should start the front-end server, and the landing page will be http://localhost:3000/
Both backend and frontend needs to run for running the tests. Inside the root directory
cd frontend
npm run cypress:open
Inside the root directory.
cd backend
npm test