USDA-ARS-GBRU / audio-phenotyping-brapi-backend

BrAPI based API back-end for transferring audio and other log files to a Breedbase instance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio Phenotyping API Back-end

Prerequisites

Before setting up the project, ensure you have the following installed:

Setting up the Project

  1. Clone the repository:

    git clone https://github.com/akshat22/brapi-sample.git
  2. Rename sample.env to config.env and configure the variables:

    • Database settings
    • Redis server settings
    • Host and port for deploying the application
  3. Run the createaudio.sql script to set up the local database:

    mysql -u <username> -p < createaudio.sql
  4. Install required packages:

    npm install
  5. Start the application:

    npm start
  6. You can now make API calls using a tool like Postman.

About

BrAPI based API back-end for transferring audio and other log files to a Breedbase instance


Languages

Language:JavaScript 100.0%