- Create user and database
su - postgrespsqlcall PostgreSQL terminal\password postgresset password foe Adminsudo -u postgres psqlcall PostgreSQL terminal as admin (if you quit from previous step)CREATE USER <your_user> WITH PASSWORD '<your_password>';create new user for working with databaseCREATE DATABASE <your_data_base_name> OWNER <your_user>;create database\quit
- or
createdb <your_data_base_name> -U <db_user>
- Migrations
npm run migratenpm run migrate:undo
- Seeding
npm run seednpm run seed:undo
npm startnpm run dev(development mode)
npm testnpm run test:watch(watch all mode)