{"id":27127515,"url":"https://github.com/obadamoustafa/strolly","last_synced_at":"2026-04-10T03:55:31.767Z","repository":{"id":114047833,"uuid":"455293182","full_name":"ObadaMoustafa/Strolly","owner":"ObadaMoustafa","description":"Graduation project for Hack Your Future Amsterdam ","archived":false,"fork":false,"pushed_at":"2024-12-16T15:04:24.000Z","size":44545,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-16T16:23:39.061Z","etag":null,"topics":["calculations","css","express-js","login-system","maps","mongodb","mongoose","nodejs","payments","react","rest-api"],"latest_commit_sha":null,"homepage":"https://strolly-hyf.netlify.app/","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/ObadaMoustafa.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-02-03T19:04:58.000Z","updated_at":"2024-12-16T15:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e71457e-26d9-41c3-a81f-5f3bfb015903","html_url":"https://github.com/ObadaMoustafa/Strolly","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/ObadaMoustafa%2FStrolly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObadaMoustafa%2FStrolly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObadaMoustafa%2FStrolly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObadaMoustafa%2FStrolly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ObadaMoustafa","download_url":"https://codeload.github.com/ObadaMoustafa/Strolly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247700128,"owners_count":20981684,"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":["calculations","css","express-js","login-system","maps","mongodb","mongoose","nodejs","payments","react","rest-api"],"created_at":"2025-04-07T17:40:59.859Z","updated_at":"2025-12-30T18:56:42.152Z","avatar_url":"https://github.com/ObadaMoustafa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/55986532/147880982-d828d16b-b795-4e7e-bb12-2fe93dfa9dae.png\" /\u003e\n\n\u003c/p\u003e\n\n![laptop](https://user-images.githubusercontent.com/55986532/150634955-1c8743ea-a456-459f-bee7-baaed697c2cd.png)\n![mobile](https://user-images.githubusercontent.com/55986532/150634958-da4926b4-f09b-4b31-89b4-1560cdece697.png)\n\n## Color Palette\n\n![color-palette](https://user-images.githubusercontent.com/55986532/147879490-197e126a-612c-4112-ab02-a4a5a058021e.png)\n\n# Class 33 final project\n\nThis is the final project for the HackYourFuture curriculum we did as a class using the MERN stack by following the agile methodology with our team and a group of mentors. A quick guide to what we built:\n\nStrolly is a App created to help parents or caretakers to rent a stroller in the Amsterdam, Denventer, Groningen and Den Haag area.\n\n[Click here for the Demo version](https://strolly-hyf.netlify.app/)\n\n## 1. Setup Locally\n\nFirst, clone the repo and run these commands _**in main directory**_:\n\n`npm install`\n\n`npm run setup`\n\nThe first command will install `cypress` and some small libraries needed for running the rest of the commands. The second will go into the `client` and `server` directories and set those up to be ran.\n\nIn the `client` and `server` directory there are two `.env.example` files. Create a copy and rename that to `.env`. Then follow the instructions in those files to fill in the right values.\n\nafter filling the right values specially the mongoDB connection string in server side you should run `npm run seed:db` then your database has been seeded with initial data and ready to use.\n\nTo run the app in dev mode you can run `npm run dev`\nThen the app gonna work in http://localhost:8080/\n\n## 2. Code structure\n\n```\nclient\n├── public\n└── src\n|   └── components\n|   └── hooks\n|   └── pages\n|   └── util\n|   index.jsx\ncypress\n|   └── fixtures\n|   └── integration\nserver\n└── src\n    └── __testUtils__\n    └── controllers\n    └── db\n    └── ini_DB\n    └── models\n    └── routes\n    └── util\n    index.js\n```\n\n### 2.1 Client structure\n\n- `public` || public facing client code\n- `__tests__` || any `jest` tests for specific components will be in a `__tests__` folder on the same level\n- `__testUtils__` || any code that is only being used in the tests is put in the `__testUtils__` folder to separate that away from the rest of the code\n- `components` || all of our shared components that are used over multiple pages\n- `hooks` || all of our custom hooks\n- `pages` || the page components of our app, any routing will go between these components\n- `util` || any utility functions that can be used anywhere on the client side\n- `index.jsx` || the start point of the client\n\n### 2.2 Cypress structure\n\n- `fixtures` || any data/files that `cypress` needs can be placed here\n- `integration` || all of our tests are in here, separated in folders based on the pages in our app\n\n### 2.3 Server structure\n\n- `__testUtils__` || any code that is only being used in the tests is put in the `__testUtils__` folder to separate that away from the rest of the code\n- `controllers` || all of our controller functions that interact with the database\n- `db` || all of our configuration for the database\n- `ini_DB` || all of our necessary initial data to be ready to seed in database and can be modified any time\n- `models` || all of our `mongoose` models will be placed here\n- `routes` || code to match up the API with our controllers\n- `util` || any utility functions that can be used anywhere on the server side\n- `index.js` || the start point of the server\n\n## 3. Stack / external libraries\n\nThe base stack of the app is a MERN stack (Mongoose, Express, React, Node). Next to that we make use of the following extras:\n\n### 3.1 Configuration libraries\n\n- `dotenv` || To load the .env variables into the process environment. See [docs](https://www.npmjs.com/package/dotenv)\n- `webpack` / `html-webpack-plugin` || To bundle our React app and create a static app to host. See [docs](https://webpack.js.org/)\n- `eslint` || To check our code. We have different configurations for frontend and backend. You can check out the configuration in the `.eslintrc.(c)js` files in the respective `client` and `server` folders. See [docs](https://eslint.org/)\n- `prettier` || To automatically format our code. See [docs](https://prettier.io/)\n- `concurrently` || To run commands in parallel. See [docs](https://github.com/open-cli-tools/concurrently#readme)\n\nFor more information on how these work together including the automatic deployment to heroku, have a look at our detailed [DEV](./DEV.md) file.\n\n### 3.2 Client-side libraries\n\n- `@testing-library/*` || We use React Testing Library to write all of our tests. See [docs](https://testing-library.com/docs/react-testing-library/intro/)\n- `jest` || To run our tests and coverage. See [docs](https://jestjs.io/)\n- `jest-fetch-mock` || To mock out the backend for our testing purposes. See [docs](https://github.com/jefflau/jest-fetch-mock#readme)\n- `prop-types` || To type-check our components. See [docs](https://github.com/facebook/prop-types)\n\n### 3.3 Server-side libraries\n\n- `nodemon` || To automatically restart the server when in development mode. See [docs](https://nodemon.io/)\n- `jest` || To run our tests and coverage. See [docs](https://jestjs.io/)\n- `supertest` || To more easily test our endpoints. See [docs](https://github.com/visionmedia/supertest#readme)\n- `mongodb-memory-server` || To mock out our database in our backend tests. See [docs](https://github.com/nodkz/mongodb-memory-server)\n- `cors` || To open up our API. See [docs](https://github.com/expressjs/cors#readme)\n- `mongoose` || To add schemas to our database. See [docs](https://mongoosejs.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobadamoustafa%2Fstrolly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobadamoustafa%2Fstrolly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobadamoustafa%2Fstrolly/lists"}