https://github.com/pedrocx486/flashforge-toolkit
A toolkit made in NestJS and Vue3 for Flashforge 3D printers.
https://github.com/pedrocx486/flashforge-toolkit
flashforge nestjs vue3
Last synced: 12 months ago
JSON representation
A toolkit made in NestJS and Vue3 for Flashforge 3D printers.
- Host: GitHub
- URL: https://github.com/pedrocx486/flashforge-toolkit
- Owner: pedroCX486
- License: isc
- Created: 2020-05-05T20:58:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T22:45:14.000Z (almost 3 years ago)
- Last Synced: 2025-01-15T07:15:18.291Z (about 1 year ago)
- Topics: flashforge, nestjs, vue3
- Language: TypeScript
- Homepage:
- Size: 1.58 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flashforge Toolkit
An small toolkit for Flashforge printers that contains a NestJS backend serving data and a static Vue3 front-end (showing that data and the printer's webcam) in a single package.
## Back-End Instructions
### Installation
```bash
$ yarn install
```
### Running the app
```bash
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
```
### Extra Info
Inside the `app.service.ts` you can find where to put your printer's IP address (make sure it's a static IP set in your router!), that's all you need in order to start seeing data from your printer in the front-end.
## Front-End Instructions
### Installation
**First** go inside the the flashforge-toolkit-client folder (or open it with another VSCode window), then run the commands below.
```bash
$ yarn install
```
### Running the app
```bash
$ yarn dev
```
### Building the app
```bash
$ yarn build
```
### Extra Info
The code was made ugly on purpose so its easier to understand all it does. Everything in the app depends on the backend (you don't need to set IP addresses or anything, really, in there).
**Warning**: Running it in real time with `yarn dev` will not deploy it to the backend (aka prod), so for any changes you need to deploy, run `yarn build`. The backend automatically picks it up from the front-end's `/dist` folder. No need to copy-paste.
### License
[ISC](https://opensource.org/license/isc-license-txt/)