Code Monkey home page Code Monkey logo

backend-technical-test's Introduction

Backend-Technical-Test


API BASE URL

https://staging-zebrands-zuu2.encr.app

Stack

I decided to do it with:

  • Firebase: Store the data
  • Golang: Backend Language
  • Encore: https://encore.dev Platform to Deploy, maintain, escalate microservices
  • EmailJs: Service that allows send emails easy

WHY

I decided such technologies because it is what I have been working on for a month and it is fresh in my mind. I like it because my learning curve is low (a month ago I knew NOTHING about Go and Encore, NOTHING ๐Ÿคฏ).

INFO

Documentation It consists on 3 microservices that encapsulates each behaviour and product/user sends through email service an email Documentation Documentation Documentation Documentation


Description of the task

We need to build a basic catalog system to manage products. A product should have basic info such as sku, name, price and brand.

In this system, we need to have at least two type of users: (i) admins to create / update / delete products and to create / update / delete other admins; and (ii) anonymous users who can only retrieve products information but can't make changes.

As a special requirement, whenever an admin user makes a change in a product (for example, if a price is adjusted), we need to notify all other admins about the change, either via email or other mechanism.

We also need to keep track of the number of times every single product is queried by an anonymous user, so we can build some reports in the future.

Your task is to build this system implementing a REST or GraphQL API using the stack of your preference.

What we expect

We are going to evaluate all your choices from API design to deployment, so invest enough time in every step, not only coding. The test may feel ambiguous at points because we want you to feel obligated to make design decisions. In real life you will often find this to be the case.

We are going to evaluate these dimensions:

  • Code quality: We expect clean code and good practices
  • Technology: Use of paradigms, frameworks and libraries. Remember to use the right tool for the right problem
  • Creativity: Don't let the previous instructions to limit your choices, be free
  • Organization: Project structure, versioning, coding standards
  • Documentation: Anyone should be able to run the app and to understand the code (this doesn't mean you need to put comments everywhere :))

If you want to stand out by going the extra mile, you could do some of the following:

  • Add tests for your code
  • Containerize the app
  • Deploy the API to a real environment
  • Use AWS SES or another 3rd party API to implement the notification system
  • Provide API documentation (ideally, auto generated from code)
  • Propose an architecture design and give an explanation about how it should scale in the future

Delivering your solution

Please provide us with a link to your personal repository and a link to the running app if you deployed it.

backend-technical-test's People

Contributors

tonyvazgar avatar

Watchers

 avatar

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.