Dear Community,
I have a repository that contains an api repo and a client.
the strucutre looks as follows:
main repo (other name)
-api
-client
package.json
Within the package.json, I have it set up as follows:
{
“name”: “your-future-property”,
“version”: “1.0.0”,
“description”: “”,
“main”: “index.js”,
“type”: “module”,
“scripts”: {
“dev”: “nodemon api/index.js”,
“start”: “node api/index.js”,
“build”: “npm install && npm install --prefix client && npm run build --prefix client”
},
“repository”: {
“type”: “git”,
“url”: “git+https://github.com/HerRA17/your-future-property.git”
},
“keywords”: ,
“author”: “”,
“license”: “ISC”,
“bugs”: {
“url”: “Issues · HerRA17/your-future-property · GitHub”
},
“homepage”: “GitHub - HerRA17/your-future-property: A Real Estate Project, hosting different Properties.”,
“dependencies”: {
“bcryptjs”: “^2.4.3”,
“cookie-parser”: “^1.4.6”,
“dotenv”: “^16.4.5”,
“express”: “^4.18.3”,
“jsonwebtoken”: “^9.0.2”,
“mongoose”: “^8.2.0”,
“nodemon”: “^3.1.0”
}
}
I have tried to deploy the project with no build settings & with it.
Both have had an unsuccessful outcome (without settings has a hosted link that renders 404 and the other will break while building).
Is there any suggestions I could get?
What could I share extra to be more helpful