https://github.com/edson-a-soares/poco_module_didactic
An application sample built using Poco C++ Libraries for running on Apache Server through Poco ApacheConnector.
https://github.com/edson-a-soares/poco_module_didactic
cpp-apache-application cpp-docker-setup cpp-restful-webservice cpp-web-services modern-cpp poco poco-apache-connector poco-libraries poco-restful-webservice poco-webapp
Last synced: 3 months ago
JSON representation
An application sample built using Poco C++ Libraries for running on Apache Server through Poco ApacheConnector.
- Host: GitHub
- URL: https://github.com/edson-a-soares/poco_module_didactic
- Owner: edson-a-soares
- License: apache-2.0
- Created: 2017-10-20T00:48:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T20:07:14.000Z (over 6 years ago)
- Last Synced: 2025-01-03T22:17:35.579Z (5 months ago)
- Topics: cpp-apache-application, cpp-docker-setup, cpp-restful-webservice, cpp-web-services, modern-cpp, poco, poco-apache-connector, poco-libraries, poco-restful-webservice, poco-webapp
- Language: C++
- Homepage:
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Poco ApacheConnector Sample
[](LICENSE.md)
### Overview
That is a simple application example created using [Poco C++ Libraries](https://pocoproject.org).
ApacheConnector is a Poco module that allows one to run C++ applications built using Poco Framework on Apache Server.
The purpose of this sample is showing a bit more about running an Poco C++ application over ApacheConnector than what is available on Poco documentation.### Requirements for running it
- Docker
### Running the application
For starting the application:
```bash
docker build -t poco-apacheconnector-sample .
docker run -p8080:80 -d poco-apacheconnector-sample
```For following its execution reach Apache access and error logs:
```bash
docker ps
docker exec -it CONTAINER ID /bin/bash
# tail -f /var/log/apache2/error.log
```Now, just access the address **http://localhost:8080** on your favorite web browser.
For destroying the environment:
```bash
docker ps
docker stop CONTAINER ID
```### Standards and Style
This project do not follow any specific **Coding Style Guidelines or Standard**. But, it has been influenced by [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html),
[PPP Style Guide](http://www.stroustrup.com/Programming/PPP-style-rev3.pdf) and [Applied Informatics C++ Coding Style Guide](https://www.appinf.com/download/CppCodingStyleGuide.pdf) itself.### Useful links
* [JSON API](http://jsonapi.org)
* [Poco C++ Libraries](https://pocoproject.org)
* [Google Test](https://github.com/google/googletest/blob/master/googletest/docs/Primer.md)