Repository that contains solution for my job interview
- Clone project
- Create copy of "config.py.default" and rename it to "config.py"
- Add your database connection string
- Run migration(s)
- Use this masterpiece :)
-
route: "/"
- main application view (UI)
- method: GET
-
route: "/devices"
- fetches all devices that were imported to the system
- method: GET
-
route: "/contents"
- fetches all contents that were attached to the specified that were imported to the system
- Request arguments:
- "device_id"
- ID of device that is already imported
- type: int
- required: True
- "device_id"
-
route: "/import"
- imports data from CSV file(s) to the database
-
route: "/folders"
- it fetches all folders relative to the "uploads" folder where import CSV files will be located
Screenshot #1 Imgur
Screenshot #2 Imgur