-
Install a recent version of Node.js
https://nodejs.org
-
Checkout this Git repository
$ git checkout [email protected]:prospective/prospective-posting.git
-
Change directory to the cloned repository
-
Install NPM dependencies
$ npm install
-
Open the project in your favorite IDE
To run the app simply execute the following command from within the root directory of the cloned repository
$ npm start
When webpack finished building open your browser in http://localhost:8080
Now any changes in the source code will trigger a live reload inside your browser.
You should be familiar with a modern JavaScript project setup. Here are the most notable files and directories:
.
+-- app // contains any code for the app
+-- assets // contains any images and icons
| +-- images
| +-- icons
+-- mocks // contains some mock data to simulate api requests
| +-- posting.js
+-- snippets // some example HTML snippets for the posting
| +-- ...
+-- styles // contains all stylesheets
| +-- main.css
+-- index.html // main index.html
+-- index.ts // main index.ts if you prefer to use TypeScript
+-- index.js // main index.js if you prefer to use JavaScript
+-- package.json // NPM dependencies
+-- postcss.config.js // PostCSS configuration
+-- tsconfig.json // TypeScript configuration
+-- webpack.config.js // WebPack configuration
The project setup includes the following features:
- You can use TypeScript or JavaScript/ES6. Whatever you feel more comfortable with.
- PostCSS allows you to use all CSSNext features, with enabled autoprefixing. see also http://cssnext.io/features
- You can install any missing dependency or library using NPM. Whether it is a CSS dependency like bootstrap grid or JS / TS dependency like jQuery
The goal is to work collaboratively on a simple job posting layout using most recent HTML/CSS/JS features. During the session we will discuss and talk about design and coding in general. To get us started with the task, we will have a visual design in InVision ready to be implemented. It is up to you to make the best of the posting. Depending on the progress we might get to some simple coding in JS or TS.