mempool/backend
dependabot[bot] 3baf6fdcdc
Bump express from 4.17.1 to 4.18.1 in /backend
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.1)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 06:27:56 +00:00
..
.vscode Backend: Bumping Typescript version to 4.4.2 (#748) 2021-08-31 15:09:33 +03:00
cache Optimized cache chunks. Default cache files to /cache directory. 2021-02-14 19:50:31 +07:00
src Merge pull request #1587 from knorrium/fix_tiny_typo 2022-05-06 15:01:23 +09:00
.gitignore Adding sync external assets feature. 2021-12-21 02:00:50 +04:00
mempool-config.sample.json mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
package-lock.json Bump express from 4.17.1 to 4.18.1 in /backend 2022-05-06 06:27:56 +00:00
package.json Upgrading npm packages and 2022-05-02 20:04:04 +04:00
README.md Drop legacy blocks table during migration - Fix linter issues 2022-01-28 15:01:19 +09:00
tsconfig.json Allow synthetic default imports due to the socks library 2022-02-03 23:16:30 -08:00
tslint.json Bitcoind: Use mempool as address index when doing address prefix search. 2021-01-11 01:51:57 +07:00

Setup backend watchers

The backend is static. Typescript scripts are compiled into the dist folder and served through a node web server.

You can avoid the manual shutdown/recompile/restart command line cycle by using a watcher.

Make sure you are in the backend directory cd backend.

  1. Install nodemon and ts-node
sudo npm install -g ts-node nodemon
  1. Run the watcher

Note: You can find your npm global binary folder using npm -g bin, where nodemon will be installed.

nodemon src/index.ts --ignore cache/ --ignore pools.json