Coder Social home page Coder Social logo

ta-da-list's Introduction

Ta-Da List

This is a Single Page Application that allows users to log in and create a to-do list. The user can also interact with their list through my api.

You can create to do lists and mark them completed as you go. Each list can have as many items as you need, an item must be associated with a list.

URL Parameters
POST /lists.json content, items_attributes: {[title, content, due_date]}
GET /lists.json

You can make an external request with your API key displayed when you walk in You need to pass in your API key to the Authorization header in your request.

This project uses basic Authorization so in your header you would do:

headers: Authorization: Basic <token>

This project uses:

  • accepts_nested_attributes_for to allow lists to submit items in their request
  • protect_from_forgery with: nullsession to allow api requests form any where
  • Action Cable to let the frontend app update after any API requests
  • Dynamic form validation with Vue.js
  • Overrides the as_json method to provided the nested attributes for a list
  • Uses memoization to only create item JSON objects once
  • Routing with Vue Router
  • Data stored in Vuex
  • axios for data requests

Rails backend api with Vue.js binding the frontend

Run

  • Clone Project
  • cd into the directory
  • run bundle install
  • run rails s

Thanks

ta-da-list's People

Contributors

ajn123 avatar

Stargazers

János Setény avatar  avatar  avatar M. Hakeem avatar

Watchers

János Setény avatar 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.