Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 829 Bytes

File metadata and controls

42 lines (32 loc) · 829 Bytes

Parley Backend

A back-end server for the Parley app that connects users through Websockets and uploads audio recordings to AWS S3

Tech Stack

Getting Started

  • Install PeerJS globaly
npm install -g peer
  • Install npm packages
npm install
  • Create .env file
    • Add your AWS S3 Credentials
      • accessKeyId_parley = 'YOUR ACCESS KEY'
      • secretAccessKey_parley = 'YOUR SECRET ACCESS KEY'
      • aws_region_parley = 'YOUR REGION'
      • awsBucket_parley = 'YOUR BUCKET NAME'

Usage

  • Start peerJS server
peerjs --port 3001
  • Start express server
npm run server