To start a database server using mongoDB in Strove, first, you need to start the database sudo service PostgreSQL start Next, you need to set up a user. Strove requires a password for Postgres users, it can be set like this: sudo -u postgres psql -c \"ALTER USER Postgres PASSWORD 'postgres';\" For convenience, SQL commands can be used directly after running: sudo -u postgres psql Now, it's possible to run SQL commands, for example: CREATE DATABASE Books;

Example Postgres project can be found here: https://github.com/stroveio/postgres-example

Updated 19 May 2020
Did this page help?