Category : react-fullstack

I created a website that takes your URL and makes it shorter. The problem is that when I trying to fetch (http://localhost:3001/shorturl/:short) a get request I’m getting a cors error. I tried to add ‘Access-Control-Allow-Origin’ seems like it doesn’t work! The backend code: router.get(‘/:short’, async (req, res) => { const result = await URL.findOne({short: req.params.short}); ..

Read more

So I’m frustrated with this process I’ve watched the same tutorial a bunch on times https://www.reddit.com/r/reactjs/comments/jeuwvi/deploying_full_stack_app_on_ubuntuaws_postgres/. Everything seems perfect but the frontend doesn’t seem to be making contact with the backend. Using xginx and pm2. In the config for the xginx my locations look like this location / { try_files $uri /index.html; } location /api ..

Read more

Their website gets updated automatically after the hosts server or website is updated. I want to host a site with content coming over from various website/server as a package in my own site. As I am new to webdev I don’t know how to do it. https://www.vidstreaming.io/ https://www1.gogoanime.ai/ If you visit the above site and ..

Read more