erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12k stars 2.5k forks source link

Use existing database ( postgresql ) with this kit #1382

Open Necromant1k opened 7 years ago

Necromant1k commented 7 years ago

Hello!

Is that possible to use existing database ( ex. postgres://user:pw@localhost:5432/dbname' ) with this kit?

Can somebody provide some examples? Thanks !

crysfel commented 7 years ago

This projects aims to solve SSR, usually you will have a REST API or GrapQL server to persist data, I wouldn't recommend adding database logic here.