Loading repository data…
Loading repository data…
matter-app / repository
Matter's engineering take-home coding exercise!
💫 Welcome to the Matter take-home coding exercise! 🎉
This full-stack exercise involves building a form component in React that also makes a request to the Node.js/Express.js backend. We imagine you should spend around four hours at minimum to implement this feature, but want to emphasize that there is no specific deadline, or ticking clock for the implementation time. You can feel free to break the work up over multiple days. The entire point of this exercise is to get a good sense of how you build software.
Also, please keep in mind that you are not specifically limited to four hours. If you want to spend more time than that, using this as an opportunity to learn a new library or technology, or just generally making it more awesome, you are of course free to do so.
The exercise requires Node.js to be installed. We recommend using the LTS version.
Start by cloning this repository.
In the repo root directory, run npm install to gather all dependencies.
Next, npm run seed will seed the local SQLite database. Warning: This will drop the database if it exists. The database lives in a local file database.sqlite3.
Then run npm start which should start both the server and the React client.
❗️ Make sure you commit all changes to the master branch!
database.sqlite3. The ORM Sequelize is on top of it. You should only have to interact with Sequelize.axios.get('/team') and it will automatically hit localhost:3001/team.Below is a list of user stories corresponding to our acceptance criteria.
I can click a button inside the empty "NEW TEAMMATE" card at the bottom that says 'Join the team!'.
Clicking the 'Join the team!' button displays a form allowing me to fill out all of my team member information as per the data model (see backend/model.js).
Filling out the form will create a new team member in the database that persists on reload.
I can see team member cards for all of the new team members I have created.
Given the time expectations of this exercise, we don't expect anyone to submit anything super fancy, but if you find yourself with extra time, any extra credit item(s) that showcase your unique strengths would be awesome! 🙌
When you have finished the assignment, create a bundle of your work by running npm run bundle in the repo root.
This generates a bundle file called take-home-exercise based on your local master branch. Return that file to us via e-mail, and we'll review your code within 1-2 days.
Thank you and good luck! 🙏