/wantedly-assignment

Assignment for wantedly

Primary LanguageJavaScript

Wantedly Assignment

You can have the live demo here

This app was generated using express-generator. This app serves as the solution to the assignment given by Wantedly in the following gist gist

Tech stack used

I have used the following to implement the assignment

Installation

This requires Node.js v4+ and MongoDB to run.

You can get the instructions to install MongoDB here

You will have to start the mongod service to start the DB.

$ sudo service start mongod

Clone the repo and Install the dependencies and devDependencies and start the server. (You can use yarn instead of npm i for the obvious reasons)

$ npm i
$ npm start

Then go to http://localhost:3000.

Features

  • On the landing page, you can log in through various users by just clicking at the user, and create a new user by using the adjacent form.
  • After clicking on the user you are redirected to his/her profile page. Here you can add your skill or endorse the skill listed.
  • You have friends list where you can look at the other profiles and do the same with the skills.
  • The url with ?(id) slug determines the user, if not present, it is the current users profile.
  • Used localStorage to maintain the session

Todos

  • I need to implement Mongoose to implement the MongoDB schemas and further reduce the pain of writing more code. Although I could have used it way earlier, I had to learn core MongoDB. So used that instead.
  • I have to make the app production ready. As I have deployed the app using babel-node and used the development mode.
  • Check for some corner cases.