este

by este

este / este

This repo is suspended.

5.5K Stars 554 Forks Last release: about 3 years ago (v3) MIT License 3.2K Commits 63 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

WARNING: This project is outdated and not maintained anymore.

Este

Prerequisites

Setup project

  • git clone https://github.com/este/este
  • cd este
  • yarn
  • yarn docker:up
  • yarn env dev
  • yarn prisma:deploy

Tasks

  • yarn dev
    start web development
  • yarn dev-ios
    start iOS development
  • yarn dev-android
    start Android development
  • yarn prisma:deploy
    after
    prisma/datamodel.prisma
    change
  • yarn prisma:generate
    generate Prisma client
  • yarn prisma:delete
    get rid of the whole service
  • yarn gen
    after
    api/schema.graphql
    change
  • yarn env dev
    copy
    .env.dev
    to
    .env
  • yarn env prod
    copy
    .env.prod
    to
    .env
  • yarn build
    local build
  • yarn start
    local start
  • yarn test
    before commit
  • yarn deps
    rimraf 'yarn.lock' 'nodemodules' '**/nodemodules' && yarn
  • now
    deploy to zeit.co/now

Tips

  • yarn dev
    , then open localhost:5000/playground and set HTTP HEADERS to
    { "Authorization": "Bearer token" }
    . Token is browser cookie for api and
    yarn prisma token
    for db.
  • After
    prisma/docker-compose.yml
    change, run
    yarn docker:up
  • To deploy local Prisma to demo server, set up Prisma with demo database, and put its endpoint to .env.prod (copy paste of .env.dev), then
    yarn env prod
    , then
    yarn prisma:deploy
    .

Links

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.