Demo: https://radiant-wave-74426.herokuapp.com/
GraphQL playground: https://radiant-wave-74426.herokuapp.com/graphql
Install node.js v10.x.x.
Set up PostgreSQL server somewhere. The demo deployment of this project uses https://www.elephantsql.com/
cp .env.EXAMPLE .env
Edit .env file and update DATABASE_URL field to point to your database instance.
Install dependencies:
npm install
Build client:
npm run build:client
Start development server:
npm run serve
The demo should now be accessible at http://localhost:8000/index.html.
There's also a graphiql playground available at http://localhost:8000/graphql.
Suggested technologies: Node.js, GraphQl, MongoDB/PostgreSQL, Typescript
Create a REST api and deploy it. The Api should include following endpoints:
Get all breeds
Get a breed by id
Search a breed by name
Breed:
- Name
- Description
- Temperament
- Origin
Suggested technologies: React