Dev_HK
Dev_HK
Explore posts from servers
SSolidJS
Created by Dev_HK on 5/29/2024 in #support
deploying a solid js app in render while consuming a backend api
if i'll need to make the code into production & i have the backend url hosted,
const BACKEND_URL_API=process.env.BACKEND_URL_API;
const BACKEND_URL=process.env.BACKEND_URL;
const BACKEND_URL_API=process.env.BACKEND_URL_API;
const BACKEND_URL=process.env.BACKEND_URL;
and in the env file i have this
BACKEND_URL="https://python-fastapi.onrender.com"
BACKEND_URL_API="https://python-fastapi.onrender.com/api"
BACKEND_URL="https://python-fastapi.onrender.com"
BACKEND_URL_API="https://python-fastapi.onrender.com/api"
1 replies
SSolidJS
Created by Dev_HK on 5/27/2024 in #support
Modularizing Components
how would you tackle this, right now i have two different components as pages & now requirements i'm having is that for the third page of the app i'll be using the first page, then the second page the flow of the third page will be to display the table in the first page until he clicks on the CIN, then we display all the products bought from that user, should i make components for the tables and in the props to take params like enableActions to display the crud icons for that specific thing ? https://github.com/ismailelghazi/python_fastapi_react
5 replies