asaunin / social-network-spring

Social Network application (spring boot data mvc security restful cors xsrf angular swagger facebook / google signin)
https://social-network-angularjs.herokuapp.com/
112 stars 51 forks source link

data base #4

Open gkumarcoder opened 7 years ago

gkumarcoder commented 7 years ago

Hi

where you written data base logic..can you give me property or java file name so i can check

thanks gaurav

asaunin commented 7 years ago

You can setup DB connection preferences here Current implementation uses only H2 in-memory DB, and I haven't setup poduction DB yet, because I have no enought time to develop this project now. Actually, if you plan to have a different DB connections types for the dev (in-memory) and prod (real) environements, it's better to setup properties in appropriate files (dev & prod) instead of the common one.