Code Monkey home page Code Monkey logo

oryx's Introduction

Oryx

This is a service similar to Omegle, implemented using Go & C++ (for the backend) and React & NextJS (for the frontend) with gRPC.

Features

  • Conersations with (possibly random) people who are also online
  • Text messaging
  • Multimedia & file sharing
  • Voice calling
  • Video calling

Build

There are two gRPC services (auth_srvc_grpc and chat_srvc_grpc) and one server for the frontend (frontend). These services can all be seen in the docker-compose.yml file and have to be build independently.

The auth_srvc_grpc is implemented in Golang and is quite simple to build and run. The command make auth_srvc_grpc will produce a binary with the service name.

The chat_srvc_grpc is implemented in C++ and depending on the chosen build method, the build process can be a bit involved. There are two ways to build this service. If you already have grpc and protobuf installed on your system and configured with pkgconfig, then you may simply run make chat_srvc_grpc and this will produce the service binary (if there are no compilation/linking errors). The second way, which may be easier, is to use Bazel: the command bazel build //chat:chat_srvc_grpc will produce the service binary. This second method is quite time consuming however since grpc and protobuf have to be built from source.

The frontend server is easy to run with the command cd web && yarn dev.

More information about builing & deployment can be obtained from the following: docker-compose.yml (network setup), nginx.conf (for deployment with the services running in docker-compose) and dockerfiles/*/Dockerfile (for building services).

oryx's People

Contributors

navaz-alani avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.