Skip to content

Coding challange project for Miltron. Application creating TCP connections and sending data with Web Socket events

Notifications You must be signed in to change notification settings

AliHadiOzturk/rocket-control-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miltron Rocket Controller Backend

Backend project for an rocket launch station. This backend project getting rocket data from provided backend service and creating a TCP connection to the rockets. Then publishing data coming from tcp connections with Web Socket to the clients.

Running Project

To run this project:

  • You need docker installed.
  • Create a .env in root of the project.
    • Then paste.
    HOST=127.0.0.1
    PORT=5001
    API_KEY=API_KEY_1
    MILTRON_API_HOST=localhost:5000
  • You can skip this step if you run docker container before.
    • Run backend service with docker command docker run -d -p 5000:5000 -p 4000-4009:4000-4009 miltronhub/launchsite:1.0.0 Docker will start container in the background and accessible with url http://127.0.0.1:5000/
  • Run yarn install for the install packages.
  • Run yarn start command for the backend service and websocket start. You can change the port from .env file.
  • If you want to see the rocket controller UI. Run rocket-controller-frontend project.

About

Coding challange project for Miltron. Application creating TCP connections and sending data with Web Socket events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published