Giter Club home page Giter Club logo

js-frontend-rails-backend-project-guidelines's Introduction

Rails API Project

Setup

Follow the steps here to set up your backend: https://github.com/learn-co-students/nyc-web-students-042219/blob/master/28-rails-api/README.md

Backend Requirements

  1. Create a Rails API with two models
  2. Create serializers for each model with at least one custom method
  3. Create the routes and controller actions for index and show for at least one model, make sure to create instances of your models from rails console so you have some sample data to work with
  4. BONUS Add a create action that creates a new instance in your database and returns JSON object for the newly created instance in the response
  5. SUPER BONUS Add an update action that accepts a PATCH request and updates some attributes on your model, or a delete action

Frontend

  1. Render all instances from one model when the page loads
  2. Provide a way for a user to filter or sort by triggering some even on the DOM (entering text in an input field; clicking a 'sort' button; picking a value from a select dropdown)
  3. BONUS If you added a create action to your backend, add a form to your frontend to allow users to create new instances of your model
  4. SUPER BONUS Add a way to update some attribute on your backend or delete some instance of a model

js-frontend-rails-backend-project-guidelines's People

Contributors

ihollander 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.