{"id":20667617,"url":"https://github.com/neckerfree/workout-backend","last_synced_at":"2026-04-24T07:33:59.380Z","repository":{"id":86303299,"uuid":"567052547","full_name":"NeckerFree/Workout-Backend","owner":"NeckerFree","description":"Project to store DB information about Workout","archived":false,"fork":false,"pushed_at":"2022-12-02T00:07:27.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-17T15:57:51.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeckerFree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-17T00:56:00.000Z","updated_at":"2022-11-17T03:26:03.000Z","dependencies_parsed_at":"2023-03-09T00:30:12.950Z","dependency_job_id":null,"html_url":"https://github.com/NeckerFree/Workout-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeckerFree/Workout-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeckerFree%2FWorkout-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeckerFree%2FWorkout-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeckerFree%2FWorkout-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeckerFree%2FWorkout-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeckerFree","download_url":"https://codeload.github.com/NeckerFree/Workout-Backend/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeckerFree%2FWorkout-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:44:28.556Z","updated_at":"2026-04-24T07:33:59.354Z","avatar_url":"https://github.com/NeckerFree.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  \u003c!-- \u003cimg src=\"murple_logo.png\" alt=\"logo\" width=\"140\"  height=\"auto\" /\u003e --\u003e\n  \u003cbr/\u003e\n\n  \u003ch3\u003e\u003cb\u003eWorkout Backend\u003c/b\u003e\u003c/h3\u003e\n\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n  - [🚀 Live Demo](#live-demo)\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Prerequisites](#prerequisites)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Run tests](#run-tests)\n  - [Deployment](#triangular_flag_on_post-deployment)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n- [❓ FAQ](#faq)\n- [📝 License](#license)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 [Workout Backend] \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n\u003e Describe your project in 1 or 2 sentences.\n\n**[Workout Backend]** This is the backend RoR project that uses a SQL Server database to store data about workout like running or different sport.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003eRuby on rails\u003c/a\u003e\n## 🛠 Built With \u003ca name=\"built-with\"\u003eSQL Server\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003eRuby on Rails\u003c/a\u003e\n\n\u003e Describe the tech stack and include only the relevant sections that apply to your project.\n\n\u003cdetails\u003e\n  \u003csummary\u003eClient\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://reactjs.org/\"\u003eReact.js\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rubyonrails.org/\"\u003eRuby on Rails\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.microsoft.com/en-us/sql-server/\"\u003eSQL Server\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n\u003e Describe between 1-3 key features of the application.\n\n- **[API Service]**\n- **[JWT]**\n- **[Simple Command]**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LIVE DEMO --\u003e\n\n\u003c!-- ## 🚀 Live Demo \u003ca name=\"live-demo\"\u003e\u003c/a\u003e --\u003e\n\n\u003e Add a link to your deployed project.\n\n\u003c!-- - [Live Demo Link](https://yourdeployedapplicationlink.com) --\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\n\u003e Describe how a new developer could make use of your project.\n\n### Setup Database \n- Make sure that your SQL Server database is installed.\n-  Open the file config\\database.yml\n- Modify the connection parameters to point your SQL Server  Database:\n  `adapter: sqlserver`\n  `dataserver: [server]\\[instance]` \n  `port: 1433`\n  `username: [your_user]`\n  `password: [your_password]`\n\n- If required drop existing database : `rake db:drop`\n- Create databases for each enviroment (PRD, TEST, DEV): Using SQL Server Management Studio  \n- Create db structure including tables : `rake db:migrate`\n- If required seed initial data (stored in db\\seeds.rb file): `rails db:seed`\n\n### Prerequisites\n\nIn order to run this project you need:\n\n### Setup\n\nClone this repository to your desired folder:\n\nTo get a local copy up and running follow these simple example steps.\n- Clone Repository using\n`git clone https://github.com/NeckerFree/Workout-Backend`\n- Move into project directory\n`cd Workout-Backend`\n\n### Install\n\nInstall this project with:\n\nrun `bundle install`\n\n### Usage\n\nTo run the project, execute the following command:\n\nrun `rails server`\nAfter that the service is available by default in localhost:3000\nFor example POST: localhost:3000/authenticate\nrequest data: {\"email\":\"test@gmail.com\",\"password\":\"XXXXXX\"} \n\u003c!--\n### Run tests\n\nTo run tests, run the following command:\n\n\nExample command:\n\n```sh\n  bin/rails test test/models/article_test.rb\n```\n---\u003e\n\n\u003c!--\n### Deployment\n\nYou can deploy this project using:\n\n\nExample:\n\n```sh\n\n```\n --\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n\u003e Mention all of the collaborators of this project.\n\n👤 **Elio Cortés**\n\n- GitHub: [@NeckerFree](https://github.com/NeckerFree)\n- Twitter: [@ElioCortesM](https://twitter.com/ElioCortesM)\n- LinkedIn: [elionelsoncortes](https://www.linkedin.com/in/elionelsoncortes/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FUTURE FEATURES --\u003e\n\n\u003c!-- ## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n\u003e Describe 1 - 3 features you will add to the project.\n\n- [ ] **[new_feature_1]**\n- [ ] **[new_feature_2]**\n- [ ] **[new_feature_3]** --\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](../../issues/).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\n\u003e Write a message to encourage readers to support your project\n\nIf you like this project please start\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n\u003c!-- ## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\n\u003e Give credit to everyone who inspired your codebase.\n\nI would like to thank... --\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FAQ (optional) --\u003e\n\n## ❓ FAQ \u003ca name=\"faq\"\u003e\u003c/a\u003e\n\n\u003e Add at least 2 questions new developers would ask when they decide to use your project.\n\n- **[How to create a simple RoR token based authentication API? ]**\n\n  - [JWT authetication in Rails API](https://www.pluralsight.com/guides/token-based-authentication-with-ruby-on-rails-5-api)\n\n- **[How to connect RoR project to SQL Server database?]**\n\n  - [Connect Rails to SQL Server DB](https://www.spritle.com/blogs/2014/01/29/connect-rails-4-with-microsoft-sql-server-database/)\n  - Commands:\n  [`gem install activerecord-sqlserver-adapter`\n   `gem install tiny_tds -- --with-freetds-include=C:\\Ruby31-x64\\msys64\\ucrt64\\include\\freetds`]\n\n- **[How to generate models, controlers and references in RoR? ]**\n\n  - [`rails g model user name email password_digest`\n`rails generate model training location:string distance:float duration:time start_hour:time training_date:date feel:integer`\n`rails generate migration AddUserRefToTrainings user:references`\n`rails generate scaffold_controller Training --no-helper --no-assets --no-controller-specs --no-view-specs`\n`rails generate scaffold_controller User --no-helper --no-assets --no-controller-specs --no-view-specs`]\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneckerfree%2Fworkout-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneckerfree%2Fworkout-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneckerfree%2Fworkout-backend/lists"}