0.2.1 • Published 4 years ago

postgresql-server v0.2.1

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

Backend instructions

This backend uses PostgreSQL, make sure you have it installed in your system.

Change username, password, and database in server/db/config.js according to your own PostgreSQL configurations.

start the server (might change depeding on your configurations):

pg_ctl -D /usr/local/var/postgres start

Create the database:

npx sequelize db:create

Migrate database:

npx sequelize-cli db:migrate

Seed database with sample data if you want:

npx sequelize-cli db:seed:all

When needed, you can stop the server using (might change depeding on your configurations):

pg_ctl -D /usr/local/var/postgres stop
0.2.1

4 years ago