Server and Client using GraphQL, postgres, React/Apollo
Server and Client using GraphQL, postgres, React/Apollo
Create a new .env file at the project root containing:
HOST=localhost
PORT=3001
DB=”databasename”
DBHOST=localhost
DBPORT=5432
DBUSER=dbuser
DBPASSWORD=dbpass
start
=> run server without nodemondev
=> run server with nodemondb:create
=> creates databasedb:migrate
=> migrates data