GET, POST, PUT, DELETE). Additionally, you’ll see how to include client-side components for user authentication and interaction using Nile’s React SDK.
This guide assumes you are running an application similar to
npx create-react-router@latest --template remix-run/react-router-templates/node-postgres, and have already updated your
.env file from the installationUpdate to node-pg
Update Along with that change, sync up
/server/app.tsserver/app.ts
database/context.ts to be sure its using the same types, changing from PostgresJsDatabase, to NodePgDatabase. In addition, there are may be some compatibility changes that need handled if you are updating an existing project based on our compatibility