Skip to content

Instantly share code, notes, and snippets.

@sbimochan
Last active February 20, 2023 11:18
Show Gist options
  • Save sbimochan/d5d90f3caca300c87519158666f8853c to your computer and use it in GitHub Desktop.
Save sbimochan/d5d90f3caca300c87519158666f8853c to your computer and use it in GitHub Desktop.
Coding assignment Javascript Full stack

Coding Assignment

Create a Restful API for CRUD application using expressJs framework and ReactJS with hooks that has following features.

  • Logged in users can create, delete and update their article.
  • Public user can read the article.

It should show the following implementation:

  • Run in multi thread of CPU.
  • Dockerize the api such that it can be run in services like fargate or kubernetes
  • API should have unit tests
  • Caching and cache invalidation using Redis.
  • Implement Github oAuth.
  • Use local dynamodb.
  • Use ES6 and async await.
  • Share postman collection
  • Should handle errors like network error, etc
  • Implement gsi or lsi while listing all articles

Create frontend using React with own design

  • Use redux-toolkit and redux-saga
  • Write unit tests for utils

Notes:

  • Should share code in github with proper commits history.
  • Should have a readme.md file with instruction to run in other computer.
  • Should share a migration script for dynamodb such that the tables can be created in other hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment