See task.md for task description.
Install the following:
client
: This directory hosts the client code. This is created vianpx create-react-app
.server
: This is a basic express server. This also contains the sqlite and sqlite database.
To run the application:
nvm install # Reads the .nvmrc's specified node version, and install it.
nvm use # Use the installed node version in .nvmrc
yarn # Install dependencies of both server and client.
yarn start # Starts the server and client.
To play with sqlite:
cd server
node ./sqlite_sandbox.js
This just performs a basic SELECT
statement which you will
use on your REST API you will have todo in on this tasks.
We don't prescribe anything but do try to:
- Practice modular code. Simplify by splitting.
- We encourage OOP and we would love to see how you would structure things.
- Have fun! I had fun writing this interview-task. It's nice getting dirty with setting up a Node project which I can rarely do these days. I hope you feel the same working on this.