Coder Social home page Coder Social logo

Development Server api issue about planka HOT 2 CLOSED

plankanban avatar plankanban commented on July 24, 2024
Development Server api issue

from planka.

Comments (2)

meltyshev avatar meltyshev commented on July 24, 2024

To run the development server on different IP or port you need to specify two environment variables with the same value: BASE_URL and REACT_APP_SERVER_BASE_URL. You can change BASE_URL in the .env file inside server folder, then create .env file in the client folder and place REACT_APP_SERVER_BASE_URL there. Or just simply run it without any changes by: BASE_URL=http://<server’s IP> REACT_APP_SERVER_BASE_URL=http://<server’s IP> npm start. I should add this somewhere to the documentation.

from planka.

wahshibinharb avatar wahshibinharb commented on July 24, 2024

To run the development server on different IP or port you need to specify two environment variables with the same value: BASE_URL and REACT_APP_SERVER_BASE_URL. You can change BASE_URL in the .env file inside server folder, then create .env file in the client folder and place REACT_APP_SERVER_BASE_URL there. Or just simply run it without any changes by: BASE_URL=http://<server’s IP> REACT_APP_SERVER_BASE_URL=http://<server’s IP> npm start. I should add this somewhere to the documentation.

I did it and i get this.. any idea ?

Screen Shot 2022-05-09 at 11 57 20

from planka.

Related Issues (20)

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.