contact_printer/dev
Matt McWilliams 2ea7cb2e8d Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
..
dist Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
sql Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
src Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
.gitignore Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
README.md Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
default.env Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
package-lock.json Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
package.json Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
tsconfig.json Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00

README.md

contact printer dev server

The purpose of this project is to host a dev server that development branches of the contact printer can post reports to after running. This can be used for profiling the operation with different settings, hardware and conditions. Reports will log data as it is needed without a specific goal from the outset, largely looking at speed of motors over time compared to PWM and can be used to improve performance or documentation.

The server has no frontend and simply accepts a post from the ESP32 running the contact printer and inserts the data into the SQLite database.

Installing

Install the node dependencies for running the server.

npm install --omit=dev

If you would like to develop the server, install the complete set of dependencies.

npm install

Running

node dist

Developing

If you make changes to the Typescript in source, recompile the server code.

npm run compile