Giter Club home page Giter Club logo

build-and-dockerize-a-full-stack-react-app-with-node.js-mysql-and-nginx-for-reverse-proxy's People

Contributors

mosesreigns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

build-and-dockerize-a-full-stack-react-app-with-node.js-mysql-and-nginx-for-reverse-proxy's Issues

Can not add new itim in database.

2022-04-18.18-13-30.mp4

Hello, after I successful fixxed by following your solution of this issue #1 (comment).

And nowI have a problem about the adding new value to database, I attached the video below. How can I fix this?

Thank you so much.

Fix some errors

Nice Work! But, if I run the proyect "out-of-the-box" (following the README's instructions) I get a "502 Bad Gateway" server error.

The docker log shows this message about the ngix service: [error] 32#32: *1 connect() failed (113: No route to host) while connecting to upstream, client: 172.23.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.23.0.2:3000/", host: "localhost:3050". Some research leads me to an error about write permissiones over the /app/node_modules/.cache directory.

This can be fixed updating the client/Dockerfile, changing the line from WORKDIR /app to WORKDIR /usr/src/app.

After that I rebuild and run the image. Now the client service throws an error :0308010C:digital envelope routines::unsupported .... This can be fixed in the client/Dockerfile again, changing the node base image version from node:alpine to node:16.

Now, the project run nicely. Greetings!

Problem with setup.sql

Hello I followed the tutorial at https://www.section.io/engineering-education/build-and-dockerize-a-full-stack-react-app-with-nodejs-and-nginx/ and firstly, THANK YOU for taking the time to write that and set it up.

I have one small problem though. When following the original steps, the docker-compose.yml file being executed simply created a directory of setup.sql, but did not add the "script" that creates your table. I tried to change this directory to a file, (called setup.sql at the project root) but then it simply errored out as I executed the script to run the docker-compose.yml file.

I have tried to make a directory called setup.sql with a file within that called setup.sql, which contains the script, but although there is no error, the adminer seems to indicated this script was not executed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.