coapcloud / coapc_fe

coapc_fe is the frontend server frontend for CoAP.cloud

Home Page:http://coap.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coapc_fe


coapc_fe is the frontend server for CoAP.cloud. It handles parsing CoAP requests/responses and routes logic to microservice backends. In the future it may support advanced use cases, like HTTP and other forms of proxying.


Prerequisites

coapc_fe is based on libcoap, which includes its own set of dependencies. Most POSIX hosts should work and Windows may work. macOS users - Brew is your friend. To build libcoap:

  • git clone https://github.com/coapcloud/coapc_fe (this repo)

  • cd coapc_fe

  • git submodule update --init --recursive to fetch dependencies

  • ./autogen.sh

  • ./configure --disable-documentation --disable-tests --enable-shared --enable-dtls

  • make

  • make install

Building

Currently this project assumes you are developing with Visual Studio Code and it uses VSC's task runner instead of a formal build system like autotools or CMake. This will likely improve in the future.

Included is a default Build task using GCC. Pressing ⇧⌘B or CTRL+SHIFT+B with start the build task.

Verifying

Start the server by running ./server. In a new window, enter coap-client coap://[::1]. coap-client should have been installed when running make install.

License

Apache License 2.0

About

coapc_fe is the frontend server frontend for CoAP.cloud

http://coap.cloud

License:Apache License 2.0


Languages

Language:C 100.0%