git clone https://github.com/hafbau/diag-upload-service
cd diag-upload-service
Ensure that You have globally installed npm
or accessed via npx
.
Install all the dependencies and start the API server.
cd diag-upload-api
npm install
npm start
Install all the dependencies and start the React app.
cd diag-upload-ui
npm install
npm start
Create a RESTful API with the following endpoints:
- Upload a file
- Get all files
- Download a file
- Delete a file
- Update a file
- Integrate your API with the provided UI under
/diag-upload-ui
. The expectation is that you'll only need to make minimal changes to the UI code to connect it to your developed API. Most of your work should be in the/src/utils.ts
file.