/blog-react-express-ts

Blog application built with react, node, express, typescript & mysql

Primary LanguageTypeScript

Blog

Blog application built with react, node, express, typescript & mysql.

Client Environment Variables

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

REACT_APP_API_BASE_URL

Server Environment Variables

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

PORT

DB_NAME

DB_USERNAME

DB_PASSWORD

JWT_SECRET

Run Locally

To run the project locally you will need to install and setup mysql server and then clone the project

  git clone https://github.com/narasimha-v/blog.git

Go to the project directory

  cd blog

Start the server

  cd server
  yarn install
  npm run dev

Start the client

  cd client
  yarn install
  npm run start

License

MIT