jzsfkzm / demo-service

This is just a small demo with a few parts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo-service

This is just a small demo application showing a few things one can do in a simple setup of Node.js & React. You can post requests to an API for creating jobs in a job framework. A worker instance will pick up and solve those jobs, and the server also has a WebSocket extension both the worker and the frontend can communicate with.

Development

docker-compose up

Running tests

cd backend && yarn run test:dev

cd frontend && yarn run test

Todo

✅ ground work

✅ api endpoint listing jobs

✅ api endpoint adding job

✅ api endpoint for downloading a pdf

✅ worker doing the job

✅ web socket publishing job state change

✅ frontend listing jobs

✅ frontend adding a job

✅ frontend listening on job state changes

✅ frontend downloading a job

❌ todo ✅ done

About

This is just a small demo with a few parts


Languages

Language:TypeScript 87.3%Language:HTML 7.6%Language:CSS 3.8%Language:JavaScript 0.6%Language:Shell 0.4%Language:Dockerfile 0.3%