{"id":25509178,"url":"https://github.com/nuraj250/fitness-tracker","last_synced_at":"2026-04-11T19:02:04.329Z","repository":{"id":278226623,"uuid":"878287082","full_name":"Nuraj250/Fitness-Tracker","owner":"Nuraj250","description":"A RESTful API for tracking workouts, meals, and fitness progress over time. Built with Node.js, Express, and MongoDB, it supports user authentication, CRUD operations, and progress reports. The Angular frontend ensures a seamless user experience.","archived":false,"fork":false,"pushed_at":"2026-03-05T08:07:24.000Z","size":392,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-05T12:51:33.356Z","etag":null,"topics":["angular","api","crud","expressjs","fitness","health","mongodb","nodejs","progress-tracking","restful-api","user-authentication","workout-tracker"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Nuraj250.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,"zenodo":null}},"created_at":"2024-10-25T05:38:56.000Z","updated_at":"2026-03-05T08:07:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"049fbd6c-e905-4347-bd84-dd7937b0cbb3","html_url":"https://github.com/Nuraj250/Fitness-Tracker","commit_stats":null,"previous_names":["nuraj250/fitness-tracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nuraj250/Fitness-Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuraj250%2FFitness-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuraj250%2FFitness-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuraj250%2FFitness-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuraj250%2FFitness-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nuraj250","download_url":"https://codeload.github.com/Nuraj250/Fitness-Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuraj250%2FFitness-Tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31691503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["angular","api","crud","expressjs","fitness","health","mongodb","nodejs","progress-tracking","restful-api","user-authentication","workout-tracker"],"created_at":"2025-02-19T08:54:12.772Z","updated_at":"2026-04-11T19:02:04.317Z","avatar_url":"https://github.com/Nuraj250.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fitness Tracker API\n\nA RESTful API built with Node.js, Express, and MongoDB for tracking fitness activities, such as workouts and meals. The Angular frontend enables users to manage their profiles and track progress over time.\n\n## Features\n- User authentication and profile management.\n- CRUD operations for logging workouts, exercises, and meals.\n- Generate reports for weekly and monthly progress.\n- Responsive frontend using Angular.\n- Backend with Express.js and MongoDB for data storage.\n\n## Tech Stack\n- **Frontend**: Angular, Angular Material (for UI components)\n- **Backend**: Node.js, Express.js\n- **Database**: MongoDB\n- **Authentication**: JSON Web Tokens (JWT) for secure login\n\n## Prerequisites\n- Node.js and npm installed.\n- MongoDB instance (local or cloud).\n- Angular CLI installed globally.\n\n## Installation\n\n### 1. Clone the repository\n```bash\ngit clone https://github.com/Nuraj250/fitness-tracker-api.git\ncd fitness-tracker-api\n```\n\n### 2. Install dependencies for the backend\n```bash\ncd server\nnpm install\n```\n\n### 3. Create a `.env` file in the `server` directory\nAdd the following environment variables:\n```\nPORT=5000\nMONGO_URI=your_mongodb_connection_string\nJWT_SECRET=your_jwt_secret\n```\n\n### 4. Start the backend server\n```bash\nnpm start\n```\n\n### 5. Install dependencies for the frontend\nOpen a new terminal window and run:\n```bash\ncd client\nnpm install\n```\n\n### 6. Serve the Angular frontend\n```bash\nng serve\n```\n\nThe Angular app will run on `http://localhost:4200`, and the backend server will run on `http://localhost:5000`.\n\n## Usage\n1. Register or log in to your account.\n2. Create, view, edit, or delete workout logs, exercises, and meal entries.\n3. View weekly or monthly reports for your progress.\n\n## Project Structure\n```\nfitness-tracker-api/\n├── server/                 # Node.js/Express backend\n│   ├── models/             # Mongoose models for User, Workout, Meal\n│   ├── routes/             # API routes for authentication, workouts, meals\n│   ├── .env                # Environment variables for server\n│   └── index.js            # Entry point for the server\n├── client/                 # Angular frontend\n│   ├── src/\n│   │   ├── app/            # Angular components and services\n│   │   ├── environments/   # API URL configuration\n│   │   └── main.ts         # Entry point for the Angular app\n├── README.md               # Project documentation\n```\n\n## Contributing\n1. Fork the repository.\n2. Create a feature branch (`git checkout -b feature/YourFeature`).\n3. Commit your changes (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature/YourFeature`).\n5. Open a pull request.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n- [Express Documentation](https://expressjs.com/)\n- [Angular Documentation](https://angular.io/docs)\n- [Mongoose Documentation](https://mongoosejs.com/)\n- [JWT Documentation](https://jwt.io/introduction)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuraj250%2Ffitness-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuraj250%2Ffitness-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuraj250%2Ffitness-tracker/lists"}