GithubHelp home page GithubHelp logo

katelynfenchel / sinatra-activerecord-homework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ga-chicago/sinatra-activerecord-homework

0.0 1.0 0.0 3.36 MB

Sinatra-ActiveRecord-Homework

License: MIT License

Ruby 53.11% JavaScript 15.78% CSS 16.32% HTML 14.79%

sinatra-activerecord-homework's Introduction

Sinatra-ActiveRecord-Homework

Sinatra-ActiveRecord-Homework

  1. Create a modular Sinatra Application (should have application controller)
  2. Create a migrations.sql file in your db folder
  3. What does that file represent?
  4. Create a table that has five columns
  5. Paste your your migrations file into sql
  6. Create a model that is named after your tablename which is singular (ex. 'users' => ClassName = User
  7. Create a controller that allows you to do crud operations on your data, using your model.
  8. Populate your database with at least ten entries
  9. Create a view that renders all of your database entries (retrieve this data via ajax) Create all the markup via Javascript, your html page should be blank except for your links.
  10. Create another view that renders all of your database entries using The sinatra erb variables (Check the gitbook, erb in depth for example)
  11. Create a gulp file and do some styling in less.

Extra Credit:

  1. Incorporate either Materialize, Bootstrap, or skeleton into the app and start with a mobile design
  2. Figure out how to incorporate sessions have, you looked at the docs yet? Please do! They are really good! READING DOCUMENTATION is SUPER important, the more you do it the easier it will become, the better you get at reading the docs, the faster you can figure out problems, which allow you to build things faster! Everything is an Object!!!!!!!!! What the hell does that mean? All objects have what? What does that mean, are they just values, what can perform actions?

sinatra-activerecord-homework's People

Contributors

jimbojones1 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.