This is a development package
For the full-blown package, please follow:
https://github.com/patrikx3/redis-ui
https://www.npmjs.com/package/p3x-redis-ui
https://corifeus.com/redis-ui
🏍️ The p3x-redis-ui-server package motor that is connected to the p3x-redis-ui-material web user interface v2020.4.238
Bugs are evident™ - MATRIX️
NodeJs LTS Version Requirement
>=12.13.0
Built on NodeJs
v12.18.1
The async
and await
keywords are required. Only the latest LTS variant is supported.
Install NodeJs:
https://nodejs.org/en/download/package-manager/
Description
This is part of a composable p3x-redis-ui
package. This is the server based on Socket.IO (no rest at all).
The server will be using the p3x-redis-ui-material
web client package based on built with Webpack, Socket.IO and AngularJs Material.
This package is named as p3x-redis-ui-server
.
Configuration
For now, there are 2 configuration files:
p3xrs --config ./p3xrs.json
The 2nd configuration is the list of the connections if found in p3xrs.json
it either in the config:
p3xrs.json/p3xrs.connections['home-dir'] = undefined|home|absolute|relative
The best is to keep it undefined and it will be in your home dir, but you can choose any place as well.
You may also set connections file name which overrides default .p3xrs-conns.json
p3xrs --connections-file-name .p3xrs-conns.json
Verbose CLI help
patrikx3@workstation:~/Projects/patrikx3/redis-ui-workspace/redis-ui-server$ p3xrs.js --help
Usage: p3xrs [options]
Options:
-V, --version output the version number
-c, --config [config] Set the p3xr.json p3x-redis-ui-server configuration, see more help in https://github.com/patrikx3/redis-ui-server
-r, --readonly-connections Set the connections to be readonly, no adding, saving or delete a connection
-n, --connections-file-name [filename] Set the connections file name, overrides default .p3xrs-conns.json
-h, --help output usage information
For development standalone
For file names do not use camelCase, but use kebab-case. Folder should be named as kebab-case as well. As you can see, all code filenames are using it like that, please do not change that.
Please apply the .editorconfig
settings in your IDE.
Copy from ./artifacts/boot/p3xrs.json
to the root folder (./p3xrs.json
).
npm install
npm run dev
It uses nodemon
and when any file is changed, it will re-load it.
The server app is available @
http://localhost:7843
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains (patrikx3.com and corifeus.com) could have minor errors, since I am developing in my free time. However, it is usually stable.
Note about versioning: Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
P3X-REDIS-UI-SERVER Build v2020.4.238
IntelliJ - The most intelligent Java IDE