Skip to content

Latest commit

 

History

History
88 lines (60 loc) · 1.35 KB

CONTRIBUTION.md

File metadata and controls

88 lines (60 loc) · 1.35 KB

How to install

Contributing

Contributions, issues and feature requests are very welcome.

Pre-requisites

  • Node: ^9.0.0 or higher.
  • Npm: 6.0.0 or higher.
  • Yarn: ^1.7.0 or higher.
  • MongoDB: 4.0.0 or higher.

Pre-requisite Accounts

Getting started

Clone the project from Github :

git clone [email protected]:wendelfreitas/animavita.git
cd animavita

Install dependencies:

$ yarn

GraphQL

Create a .env file in packages/graphql folder and copy the content of .env.example

# Environment
NODE_ENV=

# Front Security
JWT_KEY=

# AWS
AWS_S3_BUCKET_NAME=
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_STANDARD_QUEUE_URL=

MONGO_URI=

Run

$ yarn graphql

If everything is ok, you will be able to open GraphCool at:

http://localhost:5001/playground

Relay

Create a environment.ts file in packages/relay folder and copy the content of environment.example.ts

Run

$ yarn relay

Expo

Create a environment.ts file in packages/expo folder and copy the content of environment.example.ts

Run

$ yarn android

Thanks ♥️