https://github.com/devops-abhijeet/visitor-feedback-app
Visitor Feedback App – The Visitor Feedback App is a full-stack web application designed to collect, store, and manage feedback from users or visitors. The application is built using Node.js for the backend, MySQL as the database, and Docker for containerized deployment.
https://github.com/devops-abhijeet/visitor-feedback-app
docker-compose docker-container express-js mysql-database nodejs
Last synced: 3 months ago
JSON representation
Visitor Feedback App – The Visitor Feedback App is a full-stack web application designed to collect, store, and manage feedback from users or visitors. The application is built using Node.js for the backend, MySQL as the database, and Docker for containerized deployment.
- Host: GitHub
- URL: https://github.com/devops-abhijeet/visitor-feedback-app
- Owner: devops-abhijeet
- Created: 2025-05-31T05:38:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-12T12:35:41.000Z (7 months ago)
- Last Synced: 2025-12-13T21:47:42.082Z (7 months ago)
- Topics: docker-compose, docker-container, express-js, mysql-database, nodejs
- Language: HTML
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Use This to manually run containers
# Mysql Container Pull
docker pull mysql
# Running Mysql Container
docker run -d --name mysql-host --network feedback -e MYSQL_ROOT_PASSWORD=abhi -e MYSQL_DATABASE=feedback_app image_id
# Login into MySQL container
docker exec -it mysql-host mysql -uroot -p
# Create table into database
use feedback_app
CREATE TABLE feedbacks (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100),
message TEXT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);
# Build Node Image
docker build -t visitorapp .
# Running Node Container
docker run -d -p 80:3000 --network feedback -e MYSQL_USER=root -e MYSQL_HOST=mysql-host -e MYSQL_PASSWORD=abhi -e MYSQL_DATABASE=feedback_app image_id
Note : Manually we have to first run MySQL container and create table into it then run node-app container so it can connect with MySQL container and store data