api | ||
db | ||
.eslintrc | ||
.gitignore | ||
.prettierrc | ||
ascii.js | ||
index.js | ||
package-lock.json | ||
package.json | ||
README.md |
you need postgres!
- localhost needs to be trusted
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
- create a user
sudo -u postgres createuser --interactive
- database: tasks-mockup
createdb tasks-backend
- seed database
npm run seed