An open API service indexing awesome lists of open source software.

https://github.com/harsh-modi278/message-board-backend

Backend for the message boards website
https://github.com/harsh-modi278/message-board-backend

expressjs nodejs postgresql

Last synced: 4 months ago
JSON representation

Backend for the message boards website

Awesome Lists containing this project

README

          

# Message Board Backend

This is the backend repository for [Message Boards project](https://github.com/Harsh-Modi278/Message-Board-Frontend).

## Demo

Frotend demo: http://message-board-frontend.vercel.app/

Backend is hosted at: https://vercel.com/harsh-modi278/message-board-backend


## Installation

Install my-project with npm

```bash
npm install Message-Board-Backend
cd Message-Board-Backend
```

## Environment Variables

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

`DB_USERNAME`

`DB_PASSWORD`

`DB_NAME`

`DB_PORT`

`DB_HOST`


## Run Locally

Clone the project

```bash
git clone https://github.com/Harsh-Modi278/Message-Board-Backend.git
```

Go to the project directory

```bash
cd Message-Board-Backend
```

Install dependencies

```bash
npm install
```

Start the server

```bash
npm run start
```


## Deployment

To deploy this project run

```bash
git add .
git commit -m ""
git push heroku main
```

## Tech Stack

**Client:** React, MaterialUI

**Server:** Node, Express, PostgreSQL

## Database schema design diagram

![message boards db schema design](https://github.com/Harsh-Modi278/Message-Board-Backend/blob/main/message_boards_db_diagram.png)