Skip to content

RichardGrac/codeChallengeFullstackJS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's code some JS!

Hey, welcome to the first coding challenge of your interview process, you'll be presented with a set of steps to accomplish in order to get yourself graded on

Fullstack JavaScript using the MEAN stack

The Prereqs

This challenge assumes your knowledge or skills to leverage on the following topics,

  • JavaScript
  • NodeJS
  • Express
  • MongoDB
  • Mongoose (or another nodejs based ORM for mongodb)
  • RESTful APIs, webservices
  • A client side MV* framwork or library (Angular1, Angular2, React(not an mv*, tho) )
  • Code quality and testing

The rules

This challenge is not set by any hard rule regarding time or style, although both will play key factors on your assessment, yet, here are some rules because... rules

  • You have to fork this project and work on your copy of the code for this to work
  • You must create a commit per step of the challenge finished, wether you want to push it or not is up to you
  • You have to open a pull request to the original repo once you feel your code is ready, for your code to be assessed
  • You are not limited to the set of tools listed on The prereqs, you can use any additional tools you feel or know will aid you on your quest
  • You don't need to complete the whole challenge to create a pull request, if you get stuck at some point, create the pull request and write your issues in the comments

The challenge

You will be creating a simple server-client application so common nowadays, using the MEAN stack, the requirements are as follows.

  • As an individual,
    • I need a way to create lists of my favorite stuff ( so cliche, right? ) so, several lists of different stuff (books, movies, stores, pizza flavors, whatevs...)
    • I need a way to add, edit, and delete items on such lists
    • I need a way to view the lists I create
  • As a developer,
    • I need the node_modules to be ignored by git
    • I need to be able to access the CRUD capabilities of the lists through a RESTful API, json based, from external domains
    • I need schemas ( mongoose preferred ) for the Lists and Items entities
    • I need an exposed CRUD API to affect the Lists and Items entities using the correct HTTP verbs for each
      • Create, update, remove, fetch all and fetch by id should be supported for lists and items (10 endpoints total)
    • I need middleware to happen on each request validating that the user has a cookie named "auth" or not (log the value to output, we are not managing authentication of any kind just yet)
    • I need a test suite testing the endpoints
    • I need a test suite testing the middleware covering the cases where the user has a cookie named "auth", a cookie with another name or no cookie at all

The small print

Stuff that will be graded

Logic and code complexity   ( How easy will my code be to maintain by someone else? Am I using good practices and/or design patterns? )
Code coverage               ( Is my code tested? Are all scenarios considered? )
Requirement coverage        ( Is the application doing what it is meant to be doing? )
Rule compliance             ( Did i follow the few rules set on __The rules__ ? )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.9%
  • HTML 3.7%
  • CSS 1.4%