{"id":22035296,"url":"https://github.com/milopadma/better-calories-rust-backend","last_synced_at":"2026-05-06T07:40:14.384Z","repository":{"id":257527243,"uuid":"858531411","full_name":"Milopadma/better-calories-rust-backend","owner":"Milopadma","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-17T04:59:17.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T18:44:11.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Milopadma.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":"2024-09-17T04:11:55.000Z","updated_at":"2024-09-17T04:59:20.000Z","dependencies_parsed_at":"2024-09-17T08:01:03.073Z","dependency_job_id":null,"html_url":"https://github.com/Milopadma/better-calories-rust-backend","commit_stats":null,"previous_names":["milopadma/better-calories-rust-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milopadma%2Fbetter-calories-rust-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milopadma%2Fbetter-calories-rust-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milopadma%2Fbetter-calories-rust-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milopadma%2Fbetter-calories-rust-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Milopadma","download_url":"https://codeload.github.com/Milopadma/better-calories-rust-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245100207,"owners_count":20560739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-30T10:19:27.432Z","updated_at":"2026-05-06T07:40:14.342Z","avatar_url":"https://github.com/Milopadma.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Better Calories Rust Backend\n\nA Rust-based backend for an application that manages meals, food items, and daily nutritional tracking.\n\n## Table of Contents\n\n- [Better Calories Rust Backend](#better-calories-rust-backend)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [API Endpoints](#api-endpoints)\n  - [Database Schema](#database-schema)\n\n## Features\n\n- User management\n- Day tracking\n- Meal logging\n- Food item database\n- Nutritional information tracking\n\n## Prerequisites\n\n- Rust (latest stable version)\n- PostgreSQL\n- Cargo\n\n## Installation\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/yourusername/better-calories-rust-backend.git\n   cd better-calories-rust-backend\n   ```\n\n2. Set up the environment variables:\n\n   ```\n   cp .env.example .env\n   ```\n\n   Edit the `.env` file with your database credentials and other configuration.\n\n3. Install dependencies:\n\n   ```\n   cargo build\n   ```\n\n4. Set up the database:\n   ```\n   cargo run --bin migrate\n   ```\n\n## Usage\n\nTo run the server:\n\n```\ncargo run\n```\n\nThe server will start on `http://localhost:3000` by default.\n\n## API Endpoints\n\nFor a detailed list of API endpoints and their payloads, please refer to the [endpoints.md](endpoints.md) file.\n\n## Database Schema\n\nThe database schema includes tables for users, days, meals, food items, and meal-food item relationships. For more details, check the migration files in the `migrations/` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilopadma%2Fbetter-calories-rust-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilopadma%2Fbetter-calories-rust-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilopadma%2Fbetter-calories-rust-backend/lists"}