https://github.com/alexpreynolds/recommender-proxy
Web service to pattern matching and retrieval tool
https://github.com/alexpreynolds/recommender-proxy
Last synced: 25 days ago
JSON representation
Web service to pattern matching and retrieval tool
- Host: GitHub
- URL: https://github.com/alexpreynolds/recommender-proxy
- Owner: alexpreynolds
- Created: 2020-07-02T07:42:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T00:20:26.000Z (3 months ago)
- Last Synced: 2025-03-01T01:21:48.315Z (3 months ago)
- Language: JavaScript
- Size: 12.3 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# recommender-proxy
A web backend to Nalu Tripician's pattern matching and retrieval tool
## Setup
Use the `recommender-proxy.development.json` file with PM2 to set up a web application. Valid SSL certificates are required. Root access to PM2 may be required if file permissions on SSL certs require it.
## Testing
There are two ways to test things out. The first is to run the recommender script directly on the host. If this works, the second test ensures that the web application server is running correctly.
### Python script
To test the Python script:
```console
$ ./test_request_via_python.sh
...
```Adjust settings in the test script to test different parameters.
### Web request
To test the expressjs web application that calls the Python script:
```console
$ ./test_request_via_curl.sh
...
```Both scripts should write results to standard output.