• Docs >
  • Develop a File Server
Shortcuts

Develop a File Server

Prerequisite: Reach level 16+ and read the Drive article.


Our Goal

Create a simple Lightning App (App) that allows users to upload files and list the uploaded files.


Completed App

Here is a recording of the final App built in this example, tested with pytest.





App Design

In order to create this App, we need to develop two components and an App:

  • A File Server Component that gives you the ability to download or list files shared with your App. This is particularly useful when you want to trigger an ML job but your users need to provide their own data or if the user wants to download the trained checkpoints.

  • A Test File Server Component to interact with the file server.

  • An App putting everything together and the App’s associated pytest tests.


Tutorial