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

https://github.com/aravindjaimon/relbuilder

Find a distant relationship by giving close relationships
https://github.com/aravindjaimon/relbuilder

bootstrap express nodejs pg pgsql postgresql react reactstrap webapp

Last synced: about 2 months ago
JSON representation

Find a distant relationship by giving close relationships

Awesome Lists containing this project

README

          

# Relationship Builder

## Stack

### Frontend

React ReactStrap Bootstrap

### API

NodeJS Express

### Database

PostgreSQL

## [Demo Video](https://drive.google.com/file/d/1ruHftu_BCluAJzjIVyG5y_qiGSXmzjg-/view?usp=sharing)

## Install Dependancies

### `yarn install`

Install's dependency for runnng app, first run this command before running main install

### `yarn install:all`

This instruction will install dependencies in both client and api.

## Run Project

### `yarn start`

This command will start api on port `5000` and client in development on port [3000](http://localhost:3000)

## Setup

Load the `db.pgsql` file located at the root in your postgresql local install

Update the credentials of PostgreSQL in `.env` at api/ , a sample .env file is at the api/ directory by the name `.env.example`

Update the API URL in `.env` at client/ , a sample.env file is at the client/ directory by the name `.env.example`

If you have an ssl encripted database please add the certificate in the api folder by the name `ca-certificate.crt` or edit the same in 14 th line at `db.js` file at api/

Else comment the following lines in `db.js`

```
ssl: {
rejectUnauthorized: false,
cert: fs.readFileSync("./ca-certificate.crt").toString(),
},
```

## Scaling on AWS

The best option for scaling in amazon if the users exceed 1M is AWS Lambda Service. You only need to pay for what you use
.