1.0.0 • Published 3 years ago

media_frontend v1.0.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

media_frontend

The P.O.S.T. Media Front-End is a React component that integrates with the P.O.S.T. Media Service. It provides a user-friendly interface for uploading, deleting, searching, sorting, and previewing media files.

Installation

This code is intended for deployment to Azure, but can be run locally for development and testing. The source code has been developed and tested using Node.js LTS version 14.16.1.

BUILD

npm install
npm start

Documentation

The FileBrowser component connects to the P.O.S.T. Media Service via an apiUrl property. The provided index file will render an instance of the FileBrowser component using the FILES_API_URL environment variable.

EXAMPLE USAGE

If you'd like to use this component in another application you can render the component like this:

    <FileBrowser
        apiUrl="http://localhost:4004"
    />