I am new to angularjs and I am trying to setup a first project with generator-angular-fullstack using yeoman and PostgreSQL. Everything seems working.
When I use grunt on localhost (grunt serve), I see a basic yeoman page, but no data. A database and tables are created. There is some test data. It looks like the conection from the project to the DB is working, but it can't access the data.
DB config in development.js:
module.exports = {
// MongoDB connection options
mongo: {
uri: 'mongodb://localhost/fullstack-dev'
},
// Postgres connection options
postgres: {
uri: process.env.POSTGRES_URL ||
'postgres://user:pass@localhost:5432/testDB'
},
database: 'testDB',
username: 'postgres',
password: 'postgres',
seedDB: true
};