Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/este/este
This repo is suspended.
https://github.com/este/este
graphql nextjs prisma react-native-web reactjs relay typescript
Last synced: about 1 month ago
JSON representation
This repo is suspended.
- Host: GitHub
- URL: https://github.com/este/este
- Owner: este
- License: mit
- Archived: true
- Created: 2013-02-16T03:30:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T21:39:46.000Z (about 5 years ago)
- Last Synced: 2024-09-23T02:33:59.112Z (about 2 months ago)
- Topics: graphql, nextjs, prisma, react-native-web, reactjs, relay, typescript
- Language: TypeScript
- Homepage: https://typescript.fun/
- Size: 11.8 MB
- Stars: 5,376
- Watchers: 137
- Forks: 511
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - este/este - This repo is suspended. (TypeScript)
README
WARNING: This project is outdated and not maintained anymore.
# Este
- [react](https://reactjs.org/)
- [react-native](https://facebook.github.io/react-native/)
- [react-native-web](https://github.com/necolas/react-native-web)
- [nextjs](https://nextjs.org/)
- [zeit.co/now](https://zeit.co/now)
- [typescriptlang.org](https://www.typescriptlang.org/)
- [graphql.org](https://graphql.org/)
- [relay](https://facebook.github.io/relay/)
- [prisma](https://www.prisma.io/)
- [nexusjs](https://nexus.js.org/)
- [apollo-server](https://www.apollographql.com/docs/apollo-server/)## Prerequisites
- [nodejs.org](http://nodejs.org/) 8 is required because of AWS. They don't support 10 yet.
- [docker-compose](https://www.docker.com/products/docker-engine)
- [yarnpkg.com](https://yarnpkg.com/en/)
- [prisma-cli](https://www.prisma.io/docs/prisma-cli-and-configuration/using-the-prisma-cli-alx4/)## 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](https://zeit.co/now)## Tips
- `yarn dev`, then open [localhost:5000/playground](http://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
- [twitter.com/steida](https://twitter.com/steida)
- [twitter.com/estejs](https://twitter.com/estejs)
- [medium.com/@steida](https://medium.com/@steida/)
- [wiki](https://github.com/este/este/wiki)