![Screenshot 2023-11-25 at 23 26 58](https://private-user-images.githubusercontent.com/30210556/285614779-7eb0e5b9-49a0-43d0-bed3-6f4764e115d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MDEyMzQsIm5iZiI6MTcyMTUwMDkzNCwicGF0aCI6Ii8zMDIxMDU1Ni8yODU2MTQ3NzktN2ViMGU1YjktNDlhMC00M2QwLWJlZDMtNmY0NzY0ZTExNWQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDE4NDIxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlNjg0ZjJiM2U5YTIzZTlhMzFmMTY3N2U5MGQ5ZDcwMjBlZDBiOTlhNjdhY2QyODc4OTkxNDFmYjA4ZjkzYTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hoA58V3NOTZ2zWCSlMdZOWHeVQ_Nqw3UKY1cTxQIiDY)
Start the Remix development asset server and the Express server by running:
get your GOOGLE PALM API from this link https://developers.generativeai.google/tutorials/setup
PORT=port_where_server_should_run_from
GOOGLE_PALM_API_KEY=
npm run dev
This starts your app in development mode, which will purge the server require cache when Remix rebuilds assets so you don't need a process manager restarting the express server.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
Now you'll need to pick a host to deploy it to.
If you're familiar with deploying express applications you should be right at home just make sure to deploy the output of remix build
build/
public/build/