Skip to content

nikocraft/axis-code-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axis code test

Getting started

This is a monorepo with two packages, backend and frontend, using npm workspaces. Easiest way to get started with the test is to fork this repo do the tasks there. When you're done send us a link to your fork.

If you run into any issues or have questions don't hesitate to contact the technical interviewer.

Tools

  • NodeJS
  • GitHub

Start dev eniroment

  1. npm install
  2. npm run dev to start both backend and frontend.
  3. Access GraphQL-devtool on http://localhost:4000/graphql

Task 1: Extending the GraphQL Server with more types

Objectives

  • Extend the existing GraphQL server to map Users to specific Cameras.
    • Keep in mind that you should be able to log in using a User in Task 2.
  • Add funtionality to add a camera to a User
  • Add funtionality to remove a camera from a User

Task 2: Create a React app that consumes the previous GraphQL-API

Requirements

  • React
  • Typescript
  • Urql
  • Fluent UI v9

Objective

Create a React app in the "frontend"-package that displays all cameras related to the currently logged in user. Use the API you've extended in task 1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.6%
  • CSS 2.4%
  • JavaScript 1.1%
  • HTML 0.9%