For this assessment you'll be creating any sort of CRUD app. The app should be a custom app that is created to track something important to you. Whether that's your golf club collection, or a travel app. These types of apps are generally referred to as CRUD (Create Read Update Delete apps) or simple Content Management Systems.
- Build an MVC Sinatra Application.
- Use ActiveRecord with Sinatra.
- Use Multiple Models.
- Use at least one
has_many
relationship on a User model and onebelongs_to
relationship on another model - Must have user accounts. The user that created a given piece of content should be the only person who can modify that content
- Must have the abilty to create, read, update and destroy any instance of the resource that belongs to a user.
- Ensure that any instance of the resource that belongs to a user can be edited or deleted only by that user.
- You should also have validations for user input to ensure that bad data isn't added to the database. The fields in your signup form should be required and the user attribute that is used to login a user should be a unique value in the DB before creating the user.
- Golf Club Organizer
- Todo List. Each task is part of a list
- Collection of useful Ruby resources
If you are unsure about a domain or can't come up with an idea, feel free to reach out to [email protected] for some advice.
As we spent a lot of time working with domains similiar to these during the Sinatra curriculum we do not accept these domain designs.
- Twitter Clone
- Blog Application
You do not have to make your routes any more complicated than http://yourapp.com/posts/1
. We want to see you build a great CRUD application but we are not requiring you to build the next AirBnB.
- Create a new repository on GitHub for your Sinatra Application.
- When you create the Sinatra app for your assessment, add the spec.md file from this repo to the root directory of the project, commit it to Git and push it up to GitHub.
- Build your application. Make sure to commit early and commit often. Commit messages should be meaningful (clearly describe what you're doing in the commit) and accurate (there should be nothing in the commit that doesn't match the description in the commit message). Good rule of thumb is to commit every 3-7 mins of actual coding time. Most of your commits should have under 15 lines of code and a 2 line commit is perfectly acceptable. This is important and you'll be graded on this.
- While you're working on it, record a 30 min coding session with your favorite screen capture tool. During the session, either think out loud or not. It's up to you. You don't need to submit the video, but we may ask for it at a later time.
- Make sure to create a good README.md with a short description, install instructions, a contributors guide and a link to the license for your code.
- Make sure to check each box in your spec.md (replace the space between the square braces with an x) and explain next to each one how you've met the requirement before you submit your project.
- Fill out this checklist.
- Prepare a short video demo (narration helps!) describing how a user would interact with your working application.
- Write a blog post about the project and process.
- When done, submit your GitHub repo's url, a link to your video demo, and a link to your blog post in the corresponding text boxes in the right rail. Hit "I'm done" to wrap it up.
Unlike the rest of the curriculum, if you have any questions about your assessment or need help with it, please don’t use the Ask New Question feature. Rather than working with Learn Experts, please reach out to your Learn Instructor responsible for this section instead
We'll send an email to you soon to schedule a pairing process. If you don't hear from us in 48 hours after submission, get in touch!
- Confirm your application meets the requirements above. We'll go through your app and ask you to show us how it meets the requirements above. 5-10 mins.
- Explain your code from execution point to exit point. We're making sure you wrote it and understand how it works. 10-15 mins.
- Live coding, doing a refactoring exercise to make sure you're comfortable working with your code. 10-15 mins.
Project reviews are focused on preparing you for technical interviews. Treat project reviews as if they were technical interviews, in both attitude and technical presentation.
- If you make a mistake, correct yourself.
- Think on your feet. We will expect you to be able to explain development concepts to us, as well as expanding on concepts that you have already implemented, but you’ll also have the opportunity to look things up while you're live coding.
- You're going to learn a ton. We will give pointers and show you ways to improve your code. This isn't telling you that your code is wrong, it's simply us teaching.
- Approach live coding with a constructive attitude. You might feel nervous or uncertain, but as long as you are familiar with the section material you should be able to reason your way to a solution.
- Be proud of your project and your code, and show confidence in it.
- Present yourself and your project in the best way possible.
- Be open to feedback, both positive and constructive.
- If the instructor asks you to complete additional features, or you missed a project requirement, treat this as a learning experience. Becoming a developer is complex and challenging, and it’s our job to find the holes in your knowledge and help you fill them. This is to help you become a better developer, not to delay your progress in the program.
- Trust yourself.
- Trust us - our goal is to help you be successful in achieving your goals.
- We understand that this process can be stressful. We’re here to help you through.
- Use the best technical vocabulary you can.
- Explain the details - this is your application, you'll be expected to have a solid understand of how it works"
- Ask questions! Curiosity and willingness to learn are hugely valued in our industry. If you haven’t heard of something, that’s okay - use this opportunity to learn about it!
- You won't be told you're ever wrong
- You won't be yelled at, belittled, or scolded
- You won't be put on the spot without support
- There's nothing you can do to instantly fail or blow it.
View Sinatra Assessment on Learn.co and start learning to code for free.
View Sinatra Portfolio Project on Learn.co and start learning to code for free.