- NodeJS
- Express
- PostgreSQL
- GraphQL
- Typescript
- Apollo-Server
- GraphQL Code Generator
- GraphQL Modules
- Jest
Clone the project.
if you want to use together with the React Client,
Install dependencies:
$ yarn
Run the the codegen to generate Typescript types from GraphQL:
$ yarn codegen
Install PostgreSQL and initialize a database by following the instructions
- With docker - PosgreSQL
docker run -d --name childly-postgres -e POSTGRES_DB=childly -e POSTGRES_USER=testuser -e POSTGRES_PASSWORD=testpassword --rm -p5432:5432 postgres
Run tests to make sure everything is ok:
$ yarn test
Start the server:
$ yarn start