{"id":27874040,"url":"https://github.com/maxmonis/maxwellness-v1","last_synced_at":"2025-05-05T01:18:44.649Z","repository":{"id":39083109,"uuid":"239788086","full_name":"maxmonis/maxWellness-v1","owner":"maxmonis","description":"Workout tracker which is the first app I ever built (MERN). Working on it was the main way I taught myself to code before turning pro and there have probably been about ten iterations.","archived":false,"fork":false,"pushed_at":"2023-07-18T22:35:58.000Z","size":7730,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T01:18:40.385Z","etag":null,"topics":["mern-stack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/maxmonis.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}},"created_at":"2020-02-11T14:54:38.000Z","updated_at":"2025-01-15T21:09:15.000Z","dependencies_parsed_at":"2025-03-14T18:31:04.901Z","dependency_job_id":null,"html_url":"https://github.com/maxmonis/maxWellness-v1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmonis%2FmaxWellness-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmonis%2FmaxWellness-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmonis%2FmaxWellness-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmonis%2FmaxWellness-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxmonis","download_url":"https://codeload.github.com/maxmonis/maxWellness-v1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252420920,"owners_count":21745154,"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":["mern-stack"],"created_at":"2025-05-05T01:18:44.119Z","updated_at":"2025-05-05T01:18:44.633Z","avatar_url":"https://github.com/maxmonis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maxWellness\n\nAllows personal trainers to track their workouts and those of their clients.\n\nI built this website entirely by myself, and creating it is the main way I\ntaught myself to code before landing my first job as a frontend dev.\n\nI've begun work on [v2 of this project](https://github.com/maxmonis/max-wellness.com).\n\n---\n\n## Requirements\n\nYou'll need `Node.js`, `Yarn`, and `NVM (Node Version Manager)` installed on\nyour machine to run this locally.\n\nNode can be installed by following the instructions at\n[nodejs.org](https://nodejs.org/).\n\nYarn can then be added:\n\n```\nnpm install --global yarn\n```\n\nYou can add NVM by following the instructions at\n[@nvm-sh/nvm](https://github.com/nvm-sh/nvm).\n\n---\n\n## Installation\n\nClone the repo onto your machine and cd into it:\n\n```\ngit clone https://github.com/maxmonis/maxWellness.git\ncd maxWellness\n```\n\nGet the latest recommended version of Node JS (stored in `.nvmrc`):\n\n```\nnvm use\n```\n\nDownload all server and client dependencies:\n\n```\nyarn devsetup\n```\n\n---\n\n## Configuration\n\nAdd a file to hold the JWT secret and the URI of the development database on\nMongoDB:\n\n```\ntouch config/default.json\n```\n\nCreate a JSON object in that file with a key of \"mongoURI\" and value of\n\"mongodb+srv://maxmonis:\" + \"9O89LVHTusqobbhF@workoutappdev.\" +\n\"2gnvx.mongodb.net/\" + \"?retryWrites=true\u0026w=majority\" (concatenate those strings\ntogether, I just would like to avoid committing the actual full value).\n\nAdd a key of \"jwtSecret\" with a value you'd like to use as your secret. Here's\nan example:\n\n\u003cimg width=\"858\" alt=\"Screen Shot 2022-11-27 at 11 45 03 AM\" src=\"https://user-images.githubusercontent.com/51540371/204148682-502dc3ce-16bd-4b16-a2fc-6963a9f9b2a7.png\"\u003e\n\nNOTE: I'll need to whitelist your IP address to allow you to access the database, so please feel free to reach out 😊\n\nAlternatively, you can [set up your own database on MongoDB](https://www.mongodb.com/basics/create-database) and use that URI.\n\n---\n\n## Development\n\nConcurrently start the server on port 5000 and the client on port 3000:\n\n```\nnvm use\nyarn dev\n```\n\nNote that you only need to run `nvm use` the first time you start it up in any\nworking session, since from then on you should already be using the correct\nversion of Node and `yarn dev` should work fine.\n\nTo start the server alone in development mode:\n\n```\nyarn serve\n```\n\nTo start the app alone in development mode:\n\n```\ncd app\nyarn start\n```\n\n---\n\n## Production build\n\nTo start the server in production mode:\n\n```\nyarn start\n```\n\nTo create a production build of the app:\n\n```\ncd app\nyarn build\n```\n\n## Deployment\n\nNote the `build` and `start` scripts in the root `package.json` for building and deploying the server and\nclient together on [render.com](https://render.com/).\n\nInstall all server and client dependencies, then build the application:\n\n```\nyarn build\n```\n\nStart the server:\n\n```\nyarn start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmonis%2Fmaxwellness-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmonis%2Fmaxwellness-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmonis%2Fmaxwellness-v1/lists"}