Skip to content

Latest commit

 

History

History
74 lines (44 loc) · 1.07 KB

README.md

File metadata and controls

74 lines (44 loc) · 1.07 KB

BlogApp

A blog application where users can read blogs and wite wite their blogs 

Tech Stack

Client: React, Redux, TailwindCSS

Server: Node, Express

Run Locally

Clone the project

  git clone https://link-to-project

For Server

Go to the project directory

  cd BlogApp/server

Install dependencies

  pnpm install

Start the server

  pnpm start

For Client

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB_USER username for the postgress database (can user postgres as default user)

DB_HOST host url of the database (can use localhost for local database)

DB_NAME name of the database

DB_PASSWORD password of the user

DB_PORT port on which db is running (5432 is default for postgres)

JWT_SECRET secret key used to sign the payload of a JWT