Skip to content

Using this with express-session #239

Answered by Minigugus
Chaphasilor asked this question in Q&A
Discussion options

You must be logged in to vote

Is there an Express session store compatible with postgres or is there a way to make postgres compatible with it (e.g. by adding a small abstraction/translation layer?

Is https://github.com/Minigugus/connect-postgres-simple what you are looking for? It's a basic rewrite of connect-pg-simple but using postgres, as you suggested. You can test it with npm i express-session connect-postgres-simple. The public API is almost the same as connect-pg-simple (all config properties are the same expect that thoses from pg where removed).

EDIT: connect-postgres-simple is now on NPM

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Chaphasilor
Comment options

@Chaphasilor
Comment options

@Minigugus
Comment options

Answer selected by Chaphasilor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants