(https://travel-tech-ed-group-proj.onrender.com/)
(https://travel-tech-ed-group-proj-server.onrender.com/destinations)
- /destinations
- /destinations/
destination_id
- /reviews/
destination_id
- /reviews/
destination_id
- /reviews/
comment_id
/like
- /reviews/
comment_id
Run npm i
and npm run dev
Run npm i
and npm run dev
environment-variable (add this to your .env
file) :
DATABASE_URL
=postgres://user:pass@host:port/schema
Both client and server can be deployed on render.com
Deploy as a Static site.
- Build Command:
npm install && npm run build
- Publish directory:
dist
Deploy as a Web Server.
- environment-variable:
DATABASE_URL
=postgres://user:pass@host:port/schema - Build Command:
npm install
- Start Command:
node server.js