Giter Club home page Giter Club logo

t1's Introduction

t1

Development with Docker

Terminal 1 - postgres & backend API

make dev

Terminal 2 - frontend with Webpack

make app

Terminal 3 - build the frontend project

make build

When you are done and want to quit:

make undev

Production with Docker

Create .env.local to run the solution with Docker:

PG_DATABASE=postgres
PG_USERNAME=postgres
PG_PASSWORD=postgres
PG_MAX_CONN_ATTEMPTS=10
PG_CONN_ATTEMPTS_DELAY=2500

SERVER_PORT=8080
BCRYPT_ROUNDS=5
JWT_SECRET=12345
JWT_DURATION=30d
LOGIN_DURATION=30d
GRAPHQL_TEST_TOKEN=12345
REACT_SSR_USE_CACHE=no

Then you can run:

make prod

t1's People

Contributors

marcopeg avatar

Watchers

 avatar James Cloos avatar  avatar

t1's Issues

"app" warning in SSR

I think somewhere in the backed we pass an "app" setting to the initial state

it would be also nice to use this stuff (or the ssr) to provide a set of settings that the client app will later be able to use

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.