Code Monkey home page Code Monkey logo

tilr-interview's Introduction

tilr-interview

This is the interview test for the full-stack JavaScript developer position at Tilr.

The app is a very basic React/Node/Postgres app for asking and answering yes/no questions.

Currently the app only provides the ability to make new questions and browse existing questions.

It is up to you to add what features you think will be useful while showing off your knowledge of React, Node, SQL, (S)CSS, and programming in general.

Some example features you could consider adding:

  • Answering questions does something
  • Viewing yes/no answer percentages
  • Authentication system
  • Allowing text answers for questions
  • Only letting question askers see the answers
  • Unit tests

These are just options, you're welcome and encouraged to be creative.

Setting up

Make sure you have Docker and Node installed.

Database

Run docker-compose up from the project directory to set up the Postgres DB.

Postico is a great Postgres client for Mac.

The DB will be running at localhost:5432 with username dev and password password. The database name is tilr_interview.

Migrate and seed

cd into the api directory and run npm install then npm run db:refresh to run the migrations and seed the database.

API

In the api directory run npm run dev to start the Node API.

It'll be useful to look at the knex docs if you've never used it before. If you'd like to add Bookshelf or Objection on top of knex you're more than welcome to (we use Objection at Tilr).

React app

cd into the client directory and run npm install then npm start to start the React app.

Submitting the test

Make a Pull Request into the master branch of this repo when you're done. Please include a list of changes/features you've added (a txt file is fine).

tilr-interview's People

Contributors

codymarcus 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.