https://github.com/mantr88/feedback-log-backend
This is a service where, after registration, the user can leave a review and comment on user reviews
https://github.com/mantr88/feedback-log-backend
cloudinary express joi jsonwebtoken mysql-database nodejs socket-io
Last synced: 3 months ago
JSON representation
This is a service where, after registration, the user can leave a review and comment on user reviews
- Host: GitHub
- URL: https://github.com/mantr88/feedback-log-backend
- Owner: mantr88
- Created: 2023-11-18T08:44:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T15:17:59.000Z (over 2 years ago)
- Last Synced: 2024-04-21T13:50:43.623Z (about 2 years ago)
- Topics: cloudinary, express, joi, jsonwebtoken, mysql-database, nodejs, socket-io
- Language: JavaScript
- Homepage: https://feedback-log-backend.onrender.com
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# feedback-log-backend
This is a backend part of service where the user can leave comments.
All comments entered by the user are saved in the relational database МySQL including user data
(data that will help identify the client).
The user can add a picture or text file to the comment. The image must be no more than 320x240
pixels, if you try to upload a larger image, the image will be proportionally reduced to the
specified dimensions, acceptable file formats: JPG, GIF, PNG.
Data will be validated before loading into the database.
After connecting the user to the service, continuous communication is established between the user
(client) and the logic of the service (backend) using websockets, at which time the user receives
all the comments that are available in the database. To be able to leave a comment, the user needs
to register or log in to his account.
After creation, the project was deployed on the render.com
(https://feedback-log-backend.onrender.com) service and packaged in a Docker container with all
dependencies and environment.
Example environement varibles:
ACCESS_SECRET_KEY=
PORT=
//Cloudinary CLOUD_NAME= API_KEY= API_SECRET=
//DB on clever-cloud DB_HOST= DB_USERNAME= DB_PASSWORD= DB_NAME= DB_PORT=
During the creation of this project, the following technologies were used Node.js, Express.js,
Socket.io, MySQL, Jsonwebtoken, Joi, Cloudinary.



