vladdeSV / me-generator

Generate an image with random pieces of clothing / cosmetics. Not for NFTs.
https://generator.vladde.me/?seed=
MIT License
3 stars 1 forks source link

Move webservice to own project #2

Closed vladdeSV closed 3 years ago

vladdeSV commented 3 years ago

This project does a little bit too much. I want it to be usable anywhere, but currently it acts as a stand-alone application.

I propose to move the webservice to it's own project, or simply not be included at all (other than a test/dev part).

vladdeSV commented 3 years ago

I created the project me-generator-server.

The code is the same in ./source/test-server.ts as in me-generator-server/index.ts. The reasoning is that the server project is intended to be run as a server. However, for this project is it of convenience to spin up a server which can instantly generate a combination.

Eventually, I want to replace the test server in this project with an interface of sorts, which would allow me generate specific combinations. That will be its own issue.