Data Port provides an easy to use file upload endpoint to store anything.
Before you begin, ensure you have the following installed:
- Docker
- Git
The development environment is provided by containers.
git clone git@github.com:dayvidwhy/data-port.git
cd data-port
docker-compose up --build
docker exec -it data-port-app bash
swift run
Re-run swift run
on each change.
Server will be available at localhost:8080
on your machine.
Run the available tests.
swift test
For an optimized development experience, attach VSCode to the running insights-app container:
- Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and select:
>Dev Containers: Attach to Running Container...
- Choose /data-port-app from the list.