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
- Host: GitHub
- URL: https://github.com/aravindjaimon/relbuilder
- Owner: aravindjaimon
- Created: 2020-09-26T11:20:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T13:55:43.000Z (over 5 years ago)
- Last Synced: 2024-06-07T03:47:59.150Z (over 1 year ago)
- Topics: bootstrap, express, nodejs, pg, pgsql, postgresql, react, reactstrap, webapp
- Language: JavaScript
- Homepage:
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
.