Skip to content

galkin/test-task-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Engineer coding task

The goal is to test the Node.js skills.

Project structure

  • app is place where you will write your Node.js app
  • db has Dockerfile and sql fixtures
  • docker-compose.yml use docker-compose up for setup DB and test Dockerfile for your app.

Data model

interface User {
    id: string;
    first_name: string;
    last_name: string;
    email: string; // for internal use, hidden in REST API
    avatar?: string;
    online: boolean; // used for filtering
    created_at: Date; // for internal use, hidden in REST API
    updated_at: Date; // for internal use, hidden in REST API. Set current time on update
}

Task

Design and implement REST API endpoints:

  • get list of users
  • get specific user
  • change user's avatar and online status

DevOps practises:

  • Use environment variables for configuration
  • add ignore files
  • implement Dockerfile for Node.js app

During task You can use any npm packages and google solution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published