- Create Postgres database (eg. "assessments")
- There are two backup files in
/resources/SQL/assessments/
folder (data.sql and schema.sql) - Execute first schema.sql and then data.sql in public schema of this DB
- This will populate the db-schema with tables and other objects, and seed the tables with data.
- Fill this map in
src/app/server.clj
namespace:(def db-spec (hikari/make-datasource {:adapter "postgresql" :database-name "assessments" :server-name "localhost" :port-number 5432 :maximum-pool-size 1 :username "..." :password "..."}))
with your credentials, db and server name. - Run
clj -M:dev:test
from project folder - Type
(go)
onuser=>
prompt ---->>[main] INFO org.eclipse.jetty.server.Server - Started @10079ms :ready
- If Graphiql interface is shown on http://localhost:8080/ you are ready to test
meta-dashboard
application
enesj / test-graphqlize Goto Github PK
View Code? Open in Web Editor NEWLicense: Eclipse Public License 1.0