{"id":18400218,"url":"https://github.com/mathhetru/p13_argentbank","last_synced_at":"2026-04-10T02:04:11.868Z","repository":{"id":231089046,"uuid":"780871695","full_name":"mathhetru/P13_ArgentBank","owner":"mathhetru","description":"Use an API for a bank user account with React","archived":false,"fork":false,"pushed_at":"2025-04-10T09:21:25.000Z","size":887,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T10:46:31.542Z","etag":null,"topics":["api","mongodb","nodejs","reactjs","redux","state-management","store","yaml"],"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/mathhetru.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-04-02T10:14:42.000Z","updated_at":"2025-04-10T09:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"65377995-9072-4cac-aa31-2a766c9c5027","html_url":"https://github.com/mathhetru/P13_ArgentBank","commit_stats":null,"previous_names":["mathhetru/p13_argentbank"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathhetru%2FP13_ArgentBank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathhetru%2FP13_ArgentBank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathhetru%2FP13_ArgentBank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathhetru%2FP13_ArgentBank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathhetru","download_url":"https://codeload.github.com/mathhetru/P13_ArgentBank/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601509,"owners_count":21131609,"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":["api","mongodb","nodejs","reactjs","redux","state-management","store","yaml"],"created_at":"2024-11-06T02:30:35.014Z","updated_at":"2026-04-10T02:04:11.820Z","avatar_url":"https://github.com/mathhetru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P13 - Argent Bank Project\n\n\u003e Le projet 13 de la formation Openclassrooms Développeur Front-end \"Utilisez une API pour un compte utilisateur bancaire avec React\"\n\u003e 13th project of Front-end Web Developper training by OpenClassrooms \"Use an API for a bank user account with React\"\n\nThis codebase contains the code needed to run the backend and the frontend for Argent Bank.\n\n## Getting Started\n\n### Prerequisites\n\nArgent Bank uses the following tech stack:\n\n- [Node.js v12](https://nodejs.org/en/)\n- [MongoDB Community Server](https://www.mongodb.com/try/download/community)\n- [React + Vite](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md)\n\nPlease make sure you have the right versions and download both packages. You can verify this by using the following commands in your terminal:\n\n```bash\n# Check Node.js version\nnode --version\n\n# Check Mongo version\nmongo --version\n```\n\n### Instructions\n\n1. Clone the repo onto your computer\n2. Open a terminal window in the cloned project\n3. Run the following commands:\n\n## Backend\n\n```bash\n# Go to the back repository\ncd back/\n\n# Install dependencies\nnpm install\n\n# Start local dev server\nnpm run dev:server\n\n# Populate database with two users\nnpm run populate-db\n```\n\nYour back server should now be running at http://locahost:3001 and you will now have two users in your MongoDB database!\n\n### Populated Database Data\n\nOnce you run the `populate-db` script, you should have two users in your database:\n\n### Tony Stark\n\n- First Name: `Tony`\n- Last Name: `Stark`\n- Email: `tony@stark.com`\n- Password: `password123`\n\n### Steve Rogers\n\n- First Name: `Steve`,\n- Last Name: `Rogers`,\n- Email: `steve@rogers.com`,\n- Password: `password456`\n\n### API Documentation\n\nTo learn more about how the API works, once you have started your local environment, you can visit: http://localhost:3001/api-docs\n\n## Frontend\n\n```bash\n# Go to the back repository\ncd front/\n\n# Install dependencies\nnpm install\n\n# Start local dev server\nnpm run dev\n```\n\nYour front server should now be running at http://localhost:5173/!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathhetru%2Fp13_argentbank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathhetru%2Fp13_argentbank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathhetru%2Fp13_argentbank/lists"}