clsource Posted August 26, 2020 Share Posted August 26, 2020 Hello, I finished this toy project. A simple API to show data for Chilean Birds. Used to flex my PW and React muscles, since a lot of time has passed since making something with those techs. Code: https://github.com/NinjasCL/chileanbirds-api Frontend (React): https://aves.ninjas.cl Backend (PW): https://aves.ninjas.cl/api Hope you like it ? Thanks. 15 1 Link to comment Share on other sites More sharing options...
dotnetic Posted August 26, 2020 Share Posted August 26, 2020 Site is not reachable Link to comment Share on other sites More sharing options...
rick Posted August 26, 2020 Share Posted August 26, 2020 Works for me. Link to comment Share on other sites More sharing options...
ottogal Posted August 26, 2020 Share Posted August 26, 2020 No problem here... Link to comment Share on other sites More sharing options...
dotnetic Posted August 26, 2020 Share Posted August 26, 2020 SSL error: Site is not safe Link to comment Share on other sites More sharing options...
clsource Posted August 26, 2020 Author Share Posted August 26, 2020 1 hour ago, dotnetic said: SSL error: Site is not safe check if you are using https ? https://aves.ninjas.cl/ Link to comment Share on other sites More sharing options...
rick Posted August 26, 2020 Share Posted August 26, 2020 Works for me with/without https. Which you might want to adjust to https only. Link to comment Share on other sites More sharing options...
dotnetic Posted August 27, 2020 Share Posted August 27, 2020 On 8/26/2020 at 9:25 PM, clsource said: check if you are using https I just clicked the link, that the OP provided. I also tried different browsers (Firefox, latest Edge, latest Chrome) . All show an SSL error. I am surfing from Germany and via Unitymedia/Vodafone. Link to comment Share on other sites More sharing options...
clsource Posted August 27, 2020 Author Share Posted August 27, 2020 1 hour ago, dotnetic said: I just clicked the link, that the OP provided. I also tried different browsers (Firefox, latest Edge, latest Chrome) . All show an SSL error. I am surfing from Germany and via Unitymedia/Vodafone. Maybe is your internet provider configuration. https://watchmysys.com/blog/2015/01/unitymedia-is-blocking-vpn-connections/ Please try using another Internet provider maybe using 4G. Or similar network. Thanks. Link to comment Share on other sites More sharing options...
kongondo Posted August 28, 2020 Share Posted August 28, 2020 Still working fine here... Link to comment Share on other sites More sharing options...
horst Posted August 28, 2020 Share Posted August 28, 2020 Working fine from here, germany, via hoster netcologne and also routed over different IPs via VPNs like PureVPN and CyberGhost. @clsource and btw, nice work! ? 1 Link to comment Share on other sites More sharing options...
Manuel Posted September 5, 2020 Share Posted September 5, 2020 A very neat project to learn from! You really should deliver the pictures in a a resized version and activate lazy-loading (at least native lazyloading). <img src="image.jpg" loading="lazy" alt="..." /> For now, the whole site has about 226 requests and needs to download about 113MB (!!!) of files. 1 Link to comment Share on other sites More sharing options...
clsource Posted September 5, 2020 Author Share Posted September 5, 2020 58 minutes ago, Manuel said: A very neat project to learn from! You really should deliver the pictures in a a resized version and activate lazy-loading (at least native lazyloading). <img src="image.jpg" loading="lazy" alt="..." /> For now, the whole site has about 226 requests and needs to download about 113MB (!!!) of files. Thanks this is a nice improvement ? Now it's lazy loaded and the thumbnails are 200x200 px ? 3 Link to comment Share on other sites More sharing options...
JeevanisM Posted November 28, 2020 Share Posted November 28, 2020 On 8/26/2020 at 6:02 AM, clsource said: Hello, I finished this toy project. A simple API to show data for Chilean Birds. Used to flex my PW and React muscles, since a lot of time has passed since making something with those techs. Code: https://github.com/NinjasCL/chileanbirds-api Frontend (React): https://aves.ninjas.cl Backend (PW): https://aves.ninjas.cl/api Hope you like it ? Thanks. this is awesome. I want to create a mobile client for my website. I just need only a GET endpoint. ( I want to fetch certain number of videos ( say latest 20 videos ) from this website and show in my mobile app. ( the website https://www.bhimonlineclassroom.in/ is developed on PW3 ) . Can you please write an explanation on how to approach / develop the RESTful API with Processwire ? thank you @clsource 1 Link to comment Share on other sites More sharing options...
clsource Posted February 20, 2022 Author Share Posted February 20, 2022 On 11/28/2020 at 4:54 PM, JeevanisM said: this is awesome. I want to create a mobile client for my website. I just need only a GET endpoint. ( I want to fetch certain number of videos ( say latest 20 videos ) from this website and show in my mobile app. ( the website https://www.bhimonlineclassroom.in/ is developed on PW3 ) . Can you please write an explanation on how to approach / develop the RESTful API with Processwire ? thank you @clsource There are different ways of making a Rest API You can check https://github.com/Sebiworld/AppApi and 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now