- Node.js (v14.x or higher recommended)
- MongoDB (v4.x or higher recommended)
-
Clone the repository:
git clone <repository-url>
-
Navigate to the project directory:
cd bloggy
-
Install dependencies:
npm install
Create a .env
file in the root directory and add the following environment variables:
- PORT
- DB_CONNECTION
- DB_HOST
- DB_PORT
- DB_DATABASE