Code Monkey home page Code Monkey logo

counting-cookies's Introduction

Counting Cookies

Summary

Counting Cookies is a simple app to help people keep track of their calories throughout the day while keeping their eye on the prize, cookies!

After a user submits their daily calorie goal, they can begin keeping a record of how many calories they consumed for the day along with an update of how many calories they can still consume. Once an item and the item's calories information is submitted, the daily record will update to show the new total.

If the user wants to delete an item from the daily record, the total will update with a new total. The user can also delete a day if they want to forget about their cheat day.

Install and Run

Please run bundle install for the necessary gems to be installed. Most importantly, this includes Rack-Cors to allow communcation between the backend API and frontend webpage. The GemFile also includes Fast_JsonAPI to allow for easy serialization of the data to be readable in JSON.

In order to start up the backend, make sure the terminal is in the correct directory, Counting_Calories_API. Then run 'rails s' to initialize the backend server. Run "npm start" to allow for the frontend to be displayed, which is currently programmed for the localhost on port:3001 in order for the API to also run. This can be altered in Package.Json if need be.

Contributing

Pull requests are encouraged on GitHub as well as any bug reports. This project is intended to be a safe, welcoming space for colloration, and contributors are expected to adhere to the Contributor Covenant Code of Conduct.

License

This gem is an open source under the terms of the MIT License

counting-cookies's People

Contributors

indiejesus2 avatar

Watchers

James Cloos avatar  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.