https://github.com/joincolony/colonyserver
The repo we never wanted to have to create
https://github.com/joincolony/colonyserver
colony graphql hacktoberfest mongodb
Last synced: 4 months ago
JSON representation
The repo we never wanted to have to create
- Host: GitHub
- URL: https://github.com/joincolony/colonyserver
- Owner: JoinColony
- Created: 2019-11-23T17:17:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T13:02:16.000Z (over 1 year ago)
- Last Synced: 2024-10-30T13:18:27.117Z (over 1 year ago)
- Topics: colony, graphql, hacktoberfest, mongodb
- Language: TypeScript
- Homepage:
- Size: 1.61 MB
- Stars: 1
- Watchers: 9
- Forks: 2
- Open Issues: 16
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# colonyServer
GraphQL-powered metadata server for colonies, with on-chain authentication via the [Colony Network](https://github.com/JoinColony/colonyNetwork).
## Prerequisites
* `mongod` >=3.6
* `solc` >=0.5.8 (we recommend via Docker)
## Setup
```bash
# Set up colonyNetwork submodule
git submodule update --init --recursive
cd lib/colonyNetwork
npm install
npm run provision:token:contracts
cd ../..
# Copy .env.example (make changes where appropriate)
cp .env.example .env
# Set up colonyServer, create the database and start the server
npm install
# If necessary, start mongod:
# npm run db:start
npm run db:setup
npm run dev
# For authentication, compile and migrate colonyNetwork contracts
cd lib/colonyNetwork
npm run start:blockchain:client
npx truffle migrate --reset --compile-all
```