Integrate Nile Auth with Remix applications
GET
, POST
, PUT
, DELETE
). Additionally, you’ll see how to include client-side components for user authentication and interaction using Nile’s React SDK.
npx create-react-router@latest --template remix-run/react-router-templates/node-postgres
, and have already updated your .env
file from the installationUpdate .env
DATABASE_URL
so drizzle works.Update to node-pg
/server/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 compatibilityAdd Nile to the server