help deploying my project
I'm having trouble deploying my project, like it's deployed but i cant use the website correctly.... can someone help me ? i can show my code and everything (share the idea of the project antd the things that i want to do)
28 Replies
Project ID:
N/A
but i cant use the website correctlyplease be more specific, screenshots would help here
My project is a "website" where you put a code and it makes a request to a API and returnes to the user a PDF file
when i set the code, it does not returns to me the PDF file
would you like to see the project ?
sure
I have the repo
GitHub
GitHub - LastHasagi/CND-DSX: Fazer consultas CND para usuários e ge...
Fazer consultas CND para usuários e gerar uma API string para integração - GitHub - LastHasagi/CND-DSX: Fazer consultas CND para usuários e gerar uma API string para integração
you can see the code and the full idea
the web site is simple cause i want to create a api that is gonna call my code to call the request to the other api
its lik this: user -> other site using my api -> my code -> cnd api -> get the pdf and returnes to the user only the pdf file
in your site.html file you are fetching localhost, you should only need to specify a path instead of a full domain and path like you currently do
so i need to set in site.html the 'https://dsx-consulta-cnd.up.railway.app' instead the localhost
is it right ?
you should only need to use the path portion
i'm new doing this type of project
no worries
could you see if its right now ?
I'm really sorry...
looks fine, you do have a bearer token in plaintext in your repo, so that's not good
please use environment variables for that type of thing, you can set them in the variables tab of your railway service
https://docs.railway.app/develop/variables#defining-variables
oh, okay ! i need to change this ! I usually use .env to set those keys ! I'm gonna change now !
try to stay away from .env too, since that's still storing sensitive information in plaintext
do you have any type for me to set the process of creating my api to send to the users ?
oh, I would set a .gitignore, it still bad ?
you do absolutely want the .env file in your gitignore
Is there someway to hire you to work with me in this project ? You're the first person that really wanted to help me... I would like to work with you and I would like to pay you for this and for some lessons
I've never had someone to help me or teach me, I've learned all by myself
I'm not even a python dev lol
there is a chance where we can work together ?
but im not a python dev, and this is a python project
i need someone to help me with this and other projects... do you know someone ?
@alex send the buildergoop discord server
discord.gg/builders
is this even an applicable server to ask for development help Alex?
or am I totally off the mark
i'm working in a html and js project to.... if you have time to take a look and see if you want to work with me, i would be
i would be very happy to show you
you can dm me and ill have a look