SunkCapital
Database got overwritten
I created a new Postgres table which I connected to from a new project of mine. But it seems that the data from the new project went to a table from another project instead, overwriting the info there. Is there a way to recover it?
18 replies
npm WARN config production Use `--omit=dev`
I am trying to deploy my project but I get this error which is causing a 404, altough the build is said to be successfully deployed. I tried googling around but could not find a solution to this. The project is using React Vite.
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"dev": "vite",
"build": "vite build",
"lint": "eslint src --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"start": "serve build -s -n -L -p $PORT"
},
16 replies
ReactJS cost vs Django
Can someone please tell me why my super basic ReactJS pages cost 10x more than a Django website that has a database and about 20 visitors per day? I don't understand what is driving the cost up for ReactJS? Do you have any tips on how I could decrease it as it is not sustainable for me to keep my React projects on Railway.
10 replies