Skip to content

IX-Kitchen/DroneCast-Main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroneCast - WebRTC

App creation feature for the DroneCast platform. Developed with React, Node.js and MongoDB

Description

Web interface to create DroneCast apps and to upload content to the server.

Getting Started

Prerequisites

Node.js and MongoDB are needed:

Deployment

  1. Install dependencies
git clone https://github.com/IX-Kitchen/DroneCast-Main.git
cd DroneCast-Main/
npm install
(cd client && yarn install)
  1. Set deployment variables

Change the variables in the file .env.example file and change its name to .env (Default variables are for local deployment)

mv .env.example .env

By default, the client access the api using the same host. Example: Client -> http://test.com:3000/ API -> http://test.com:8080/

The API URL can be hardcoded in the file ./client/src/api-config.js if it is needed.

  1. Start the application

Start backend server (Default port: 8080, nohup can be used to run the task not attached to the session):

# nohup node server.js &
# or
# node server.js

The console should show the following message

Server listening at port 8080

Start React development server (npm or yarn)

# (cd client: nohup npm start &)
# or
# (cd client && npm start)

Now you can access the backend API at: http://HOST:8080/

and the frontend app at: http://HOST:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published