Skip to content

Yepstr/yepstr-codeassignment

Repository files navigation

Welcome to the yepstr code assignment

This code assignment is here not just for us, but for you to try out a new technology. The project is set up more or less as our main yepstr project. Don't just see this as a code assignment, but also a great possibility to play and learn React.

Getting it to run

First make sure you have node, at least version 4.6. To install everything that is needed just run npm install. When everything is installed, run npm run watch to start a small server which will serve the code assignment app. In your favorite browser, navigate to http://localhost:3003 and you will see the app. Currently, it doesn't do much but it has the basics that is needed for further development.

A small introduction

The app is written in ES6 which is transpiled to ES5 with babel. In the src folder the source code for the app can be found. The first file to take a closer look at is client/rootRoute.js. That file sets up the different routes we can visit in the app. Because this is only a small assignment only one route is defined. That route will show the page that is defined in the file at src/pages/newTask.js.

The assignment

As part of booking a new task a category, date and time has to be selected. For this assignment, we want you to implement that part of the new task form. When the page is first loaded, no category, date or time has been selected. But all the different categories are shown. When you click on a category, it is selected and a orange background is applied to indicate that it has been selected. A screen of the whole form is shown below. Create new files, reorganize, remove, add or delete everything we have done and start for scratch! Just do whatever to do the assignment and put as much effort into this as you see reasonable and have fun!

Assets

The data needed for all the categories are provided in the file data/Category.json and the icons for the categories can be found in the folder public/img/.

screen

What are we looking for?

  • You do not need to make the complete solution (i.e. it looks great on all screens, works on all phones etc) - just make sure it works somewhere
  • Make it look nice, if you want to get creative and make up your own design go ahead (not required!)
  • Focus on the structure of the code & try to use some of the nice features in ES6 and React

Hand in

Fork the repository and open a PR at the https://github.com/Yepstr/yepstr-codeassignment repo with your solution.

Good Luck and please contact us if you have any questions or problems! [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published