reef-pi web server

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Does any one know what web server reef-pi runs on? I'm trying to install php on the Pi but that typically goes with Apache, I know reef-pi doesn't use that so what does it use so I can figure out how to install php.
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
@robsworld78 reef-pi runs its own web server. The server is entirely written in go. It does not use nginx,apache or something like that, we typically use with python or ruby base software.
That's why I couldn't find anything about it, I thought I saw Node mentioned in a document. Is there any way to connect from javascript frontend?
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
That's why I couldn't find anything about it, I thought I saw Node mentioned in a document. Is there any way to connect from javascript frontend?
yeah, use the API. the current front end is written in react and connects to the backend. I have also enable CORS recently from another web developer's request. This will allow you to use the API from other javascript front ends
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
yeah, use the API. the current front end is written in react and connects to the backend. I have also enable CORS recently from another web developer's request. This will allow you to use the API from other javascript front ends
Ha, didn't even think of the API yet I've told many about it. Thanks, I'll check it out.
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 7 20.0%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 1 2.9%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 0 0.0%
  • I wear reef gear primarily to relax where I live.

    Votes: 4 11.4%
  • I don’t wear gear from reef brands.

    Votes: 21 60.0%
  • Other.

    Votes: 2 5.7%
Back
Top