Before beginning
Download project zip file. Complete the project with your answers. When finished, zip your project, and send it over to @edouardpo on Le Wagon's Slack.
Take your time ! Better have a clean and simple code than a complex and inefficient one
You'll find 3 parts to this test:
1/ Questions
Take a look at questions.txt and answer the questions presented to you
2/ Sinatra Exercise
This is a fullstack exercise, creating a simple webapp in Sinatra
Sinatra is a simple web framework for Ruby, similar in logic to Rails. It uses erb, and can take routes with parameters.
=> doc
=> Github
Don't forget to run gem install sinatra
&& gem install sinatra-contrib
in order to run the program
In this simple exercise, a database of posts and comments is given to you (see Database.rb). Comments are ordered to match each post (first comment array - first post, etc.).
Your goal is to create a credible web application listing posts and comments. The app must make intelligent use of the components of each post, and overall look like a real web app. The rest is completely up to you.
This is a test of your front-end capabilities, as well as your creativity. We will be looking for:
-
A professional-looking, yet simple (use bootstrap), front-end
-
A surprising feature: something we wouldn't have thought about.
3/ RoR Essay
Take a look at essay.txt