este

万能React。React + React Native。(Universal React. React + React Native.)

Github stars Tracking Chart

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' 'node_modules' '**/node_modules' && 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.

Overview

Name With Ownereste/este
Primary LanguageTypeScript
Program languageTypeScript (Language Count: 5)
PlatformDocker, Linux, Mac, Windows
License:MIT License
Release Count63
Last Release Namev3 (Posted on )
First Release Name1.0.0 (Posted on 2013-03-11 01:55:26)
Created At2013-02-16 03:30:38
Pushed At2019-09-03 21:39:46
Last Commit At2019-09-03 23:39:45
Stargazers Count5.4k
Watchers Count138
Fork Count513
Commits Count3.2k
Has Issues Enabled
Issues Count1238
Issue Open Count0
Pull Requests Count254
Pull Requests Open Count0
Pull Requests Close Count221
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top