GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sync/reasonml-postgres: Reasonml Native GraphQL server with postgres

BranchesTags
Open more actions menu

Latest commit

 

History

76 Commits
76 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
esy.lock
esy.lock
 
 
executable
executable
 
 
integration
integration
 
 
integrationExe
integrationExe
 
 
library
library
 
 
scripts
scripts
 
 
test
test
 
 
testExe
testExe
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
dune
dune
 
 
dune-project
dune-project
 
 
graphql_schema.json
graphql_schema.json
 
 
package.json
package.json
 
 
reasonml-postgres-deployment.yaml
reasonml-postgres-deployment.yaml
 
 
reasonml-postgres.opam
reasonml-postgres.opam
 
 

Repository files navigation

reasonml-postgres

Contains the following libraries and executables:

[email protected]
│
├─test/
│   name:    TestReasonmlPostgres.exe
│   require: reasonml-postgres/library
│
├─integration/
│   name:    IntegrationReasonmlPostgres.exe
│   require: reasonml-postgres/library
│
├─library/
│   library name: reasonml-postgres/library
│   require:
│
└─executable/
    name:    ReasonmlPostgresApp.exe
    require: reasonml-postgres/library

Developing:

npm install -g esy@next
git clone <this-repo>
esy install
esy build

MacOS:

brew install postgres

Also make sure you disable esy sandboxing

Ubuntu:

sudo apt-get install libpq-dev libssl-dev pkg-config

If you experience:

Operation not permitted mkdir ... .graphql_ppx_cache/

Temporarily add this to the esy section of your package.json.

"esy": {
    "buildsInSource": "unsafe"
}

Running Binary:

After building the project, you can run the main binary that is produced.

esy start

Running Tests:

# Runs the "test" command in `package.json`.
esy test

Runnin Repl:

esy dune utop library
#require "rtop";;
open Library;
#show Schema;

Kubernetes:

Create Secrets

kubectl create secret generic postgres --from-literal=db-connection='YOUR_DB_CONNECTION'

About

Reasonml Native GraphQL server with postgres

Resources

Readme
Activity

Stars

20 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.