- Node.js
- Postgresql
- You can set postgresql with docker. Check here.
- git clone
- Install
cd bridge-backend
npm install
- Set DB
// db/pool.js
const pool = mysql.createPool({
host: 'localhost',
user: 'root',
password: 'mariadb',
database: 'xchain',
connectionLimit: 20
})
- Create Tables with
sql/create_table.sql
- Run
npm start