# Comment App Frontend It renders web pages to access/add/modify/delete comments data from/to comment_app_backend server. # Dependency A running [comment_app_backend server](https://github.com/mohankumaranna/comment_app_backend) is required. # Goals 1. To learn Rust; web application in particular. 2. To use it as a commenting module/app/library in other Rust based web applications. 3. To keep comment data along with application, and hence, to avoid third party commenting system. # How to use it 1. Clone or download this app from github. 2. Edit **Settings.toml** file to update ip address, app server's ip address, log folder name. 3. Build an executable file using **$cargo build --release** 4. Copy following files/folder into a separate folder, say "~/projects": a. _target_/_release_/_comment-app-frontend_ file b. _Settings.toml_ file c. _templates_ folder d. _images_ folder e. _authorization_data_ folder f. _comment_app_frontend.service_ file 5. Edit **comment_app_frontend.service** for folder names and follow instructions in it, to run this app as a service in linux. 6. Assuming an entry in _Settings.toml_ file for ip_address as 127.0.0.1:6060 and comment_app_frontend server running at 127.0.0.1:6050, open up a web browser and enter url as http:://127.0.0.1:6060/comments. Browser shows Comments view. It confirms server is running. - for other possible url paths, refer functions in __src/filters.rs__ source code file. Each function at the start is shown with url path. # Demo Click [here](https://comment-app-demo.eastgate.in/) to view demo. # License MIT