Giter VIP home page Giter VIP logo

time-api's Introduction

Wobbly API

Pre-requisites

Usage

  • Clone this repo on a machine where you'd like to deploy api application
  • Copy docker/nginx/nginx.conf.dist to docker/nginx/nginx.conf
  • Copy docker-compose.override.yml.dist to docker-compose.override.yml
  • Copy docker-compose.yml.dist to docker-compose.yml
  • Edit docker/nginx/nginx.conf and change '127.0.0.1' with Wobbly API domain
  • Edit docker-compose.override.yml and change MAILER_USER, MAILER_PASSWORD, MAILER_SMTP, MAILER_SENDER_NAME, MAILER_SENDER_EMAIL, MAILER_MANAGER_EMAIL values
  • Edit docker-compose.override.yml and change 'GRAPHQL_URL' value with Wobbly GraphQL Engine domain name [eg. http://127.0.0.1:8080/v1/graphql]
  • Edit docker-compose.override.yml and change GRAPHQL_ACCESS_KEY to HASURA_GRAPHQL_ADMIN_SECRET value [look at the Wobbly GraphQL Engine instance]
  • Edit docker-compose.override.yml and change 'APP_URL' value with Wobbly Frontend domain name [eg. http://127.0.0.1]
  • Edit docker-compose.override.yml and change JWT_SECRET_KEY to something secure
  • Edit docker-compose.override.yml and change ENCRYPTION_CRYPTO_KEY and ENCRYPTION_CRYPTO_IV [follow the instructions here nodejs/node#16746 (comment)]
  • Edit docker-compose.override.yml and change BILLWERK_CLIENT_ID, BILLWERK_CLIENT_SECRET, BILLWERK_HOST values
  • docker-compose up -d --build
  • docker exec -ti <nodejs-docker-container> bash -c 'npm install'
  • docker exec -ti <nodejs-docker-container> bash -c 'npm run start:prod'

Important endpoints

  • Frontend application will be http://127.0.0.1:8081

time-api's People

Contributors

a-silent avatar athlonua avatar d-yuri avatar dependabot[bot] avatar pilot avatar shizoidna avatar vladysbykov avatar xe6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.