Code Monkey home page Code Monkey logo

sre-take-home-assignment's Introduction

FeedMe SRE Engineer Take-Home Assignment

Below is a take-home assignment before the interview for the position. You are required to

  1. Understand the situation and use case. You may contact the interviewer for further clarification.
  2. Develop and run your deployment plan for Environment, FE, BE using your most efficient tools.
  3. Monitor the deployments, simulate some usage on frontend, document and analyze the result.
  4. Bring your deployment and result to the next interview session.

Situation

McDonald is transforming their business during COVID-19. They wanted to build an online order system to tackle with current challenge. As one of the devops engineer in the project, your task is to deploy the prototype that completed by the development team and make it available to the internet for McDonald.

Below is the information given by the development team

Global environment requirement

  • start a mongodb instance, reachable for backend

Starting the backend

  • required nodejs 14
  • set environment variable MONGODB_URL="<mongodb connection url>", where <mongodb connection url> must match the official mongodb node driver uri
  • navigate to backend directory cd backend
  • build using npm npm install
  • start using node node index.js

Starting the frontend

  • navigate to frontend directory cd frontend
  • modify the variable backendUrl to the actual backend endpoint
  • serve the http server root from frontend/

Free Resource

You may use the following free resource for the deployment

Requirement

Your deployment must meet the following criteria:

  • A working FE which reachable through internet
  • Monitoring and recovery for different resource
  • Documentation for the deployment plan

Tips on completing this assignment

  • Use the best tools you have on hand.
  • Try to scope your working hour within 3 hours (1 hour per day if you really busy) and avoid unnecessary optimization and documentation.
  • Communicate effectively like you are going to communicate with the actual team member.

sre-take-home-assignment's People

Contributors

lokingwei avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sre-take-home-assignment's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.