{"id":20631993,"url":"https://github.com/samcyn/tare","last_synced_at":"2026-04-08T23:33:00.333Z","repository":{"id":69706100,"uuid":"150126855","full_name":"samcyn/tare","owner":"samcyn","description":"A collaboration app ","archived":false,"fork":false,"pushed_at":"2019-01-01T14:16:45.000Z","size":65147,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-28T05:27:03.777Z","etag":null,"topics":["apollo-boost","apollo-client","apollo-server-express","firebase","graphql","mongodb","nodejs","prisma","reactjs","sass"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samcyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-09-24T15:42:12.000Z","updated_at":"2018-12-31T15:05:41.000Z","dependencies_parsed_at":"2023-06-18T14:42:49.651Z","dependency_job_id":null,"html_url":"https://github.com/samcyn/tare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samcyn/tare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samcyn%2Ftare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samcyn%2Ftare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samcyn%2Ftare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samcyn%2Ftare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samcyn","download_url":"https://codeload.github.com/samcyn/tare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samcyn%2Ftare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","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":["apollo-boost","apollo-client","apollo-server-express","firebase","graphql","mongodb","nodejs","prisma","reactjs","sass"],"created_at":"2024-11-16T14:14:36.140Z","updated_at":"2026-04-08T23:33:00.328Z","avatar_url":"https://github.com/samcyn.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Table of Contents\n\n- [Folder Structure](#folder-structure)\n- [Available Scripts For Client](#available-scripts-for-client)\n  - [npm start](#npm-start)\n  - [npm test](#npm-test)\n  - [npm run build](#npm-run-build)\n  - [npm run eject](#npm-run-eject)\n  - [npm run watch-css](#npm-run-watch-css)\n  - [npm run build-css](#npm-run-build-css)\n- [Available Scripts For Server](#available-scripts-for-server)\n  - [npm start](#npm-start)\n  - [npm run db-deploy](#npm-run-db-deploy)\n  - [npm run graphql-playground](#npm-run-graphql-playground)\n  - [npm run dev](#npm-run-dev)\n  - [npm run lint](#npm-run-lint)\n\n\n## Folder Structure\n\nProject structure for both server and client:\n\n```\nserver-graphql-prisma/\n  node_modules/\n  package.json\n  .envexample\n  .eslintrc.json\n  .graphqlconfig.yml\n  database/\n    datamodel.graphql\n    prisma.yml\n  src/\n    generated/\n      prisma.graphql\n    resolvers/\n      Mutations/\n        auth.js\n        category.js\n        events.js\n        index.js\n      Queries/\n        categories.js\n        events.js\n        index.js\n        info.js\n        users.js\n      Subscriptions/\n        index.js\n        newDislike.js\n        newEvent.js\n        newLike.js\n        newUser.js\n      AuthPayload.js\n      CategoryFeed.js\n      EventFeed.js\n      UserFeed.js\n    utils/\n      authenticated.js\n      email.js\n      upload.js\n    index.js\n    schema.graphql\n\nweb-client/\n  README.md\n  node_modules/\n  package.json\n  public/\n    index.html\n    favicon.ico\n  src/\n    assets/\n      fonts/\n        NotoSerifSC-Black.otf\n        NotoSerifSC-Bold.otf\n        NotoSerifSC-ExtraLight.otf\n        NotoSerifSC-Light.otf\n        NotoSerifSC-Medium.otf\n        NotoSerifSC-Regular.otf\n        NotoSerifSC-SemiBold.otf\n    components/\n      Admin/\n        AdminCategoriesManagement/\n          AdminCategoriesManagement.js\n        AdminDashboard/\n          AdminDashboardUtility/\n            AdminDashboardAreaChart.js\n            AdminDashboardBarChart.js\n            AdminDashboardPieChart.js\n            AdminDashboardStats.js\n          AdminDashboard.css\n          AdminDashboard.js\n          AdminDashboard.scss\n        AdminEventsManagement/\n          AdminEventsManagement.js\n        AdminLayout/\n          AdminLayoutUtility/\n            AdminLayoutFooter.js\n            AdminLayoutHeader.js\n            AdminLayoutSidebbar.js\n          AdminLayout.css\n          AdminLayout.js\n          AdminLayout.scss\n        AdminUsersManagement/\n          AdminUsersManagementUtility/\n            AdminUsersManagementMedia.js\n            AdminUsersManagementModal.js\n          AdminUsersManagement.css\n          AdminUsersManagement.js\n          AdminUsersManagement.scss\n      Client/\n        LandingPageLayout/\n          LandingPageLayout.js\n        LoginLayout/\n          LoginLayout.css\n          LoginLayout.js\n          LoginLayout.scss\n      Global/\n        Button/\n          Button.css\n          Button.js\n          Button.scss\n        Card/\n          Card.js\n        Dropdown/\n          Dropdown.js\n        Error/\n          ErrorUI.js\n        Input/\n          Input.js\n        Loader/\n          Loader.css\n          Loader.js\n          Loader.scss\n        Logo/\n          Logo.css\n          Logo.js\n          Logo.scss\n        Modal/\n          Modal.js\n        Pagination/\n          Pagination.js\n      Helpers/\n        AuthService.js\n        WithAuth.js\n      Pages/\n        AdminPage.js\n        LandingPage.js\n        LoginPage.js\n        NotFoundPage.js\n        PortalPage.js\n        SignupPage.js\n    routes/\n      index.js\n    styles/\n      scss/\n        base/\n          _base.scss\n          _mixins.scss\n          _typography.scss\n          _variables.scss\n        components/\n          Admin/\n            AdminDashboard/\n              _AdminDashboard.scss\n            AdminLayout/\n              _AdminLayout.scss\n            AdminUsersManagement/\n              _AdminUsersManagement.scss\n          Client/\n            LoginLayout\n              _LoginLayout.scss\n          Global/\n            Button/\n              _Button.scss\n            Loader/\n              _Loader.scss\n            Logo/\n              _Logo.scss\n        _index.scss\n    utilities/\n      constants.js\n    Apolloclient.js\n    index.css\n    index.js\n    index.scss\n    serviceWorker.js\n```\n#### Further instructions for client side of things\nFor the project to build, **these files must exist with exact filenames**:\n\n* `public/index.html` is the page template;\n* `src/index.js` is the JavaScript entry point.\n\nFrom the entry file, which is src/index.js. The router component goes in. This router components loads different pages pending on the chosen routes. Some routes are however public while some are not. The AdminPage component for instance is private and needs admin permission to access its content. This AdminPage components does two things- one it takes you to the AdminLayout area if user is authenticated and has the right permission, two, it redirect user to the login page if not authenticated or permitted to view admin page. If user is authenticated they can view the AdminLayout and subsequent inners screens available.\nSo in the Admin area, the AdminLayout component serves as a new entry point for the remainder of the admin components...\n\n\n## Available Scripts For Client\n\nFor the client side of things, Inside the root directory (web-client), you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\n\n\n### `npm run watch-css`\nTo compile all `scss` extension files to css run this script\n\n\n### `npm run build-css`\nTo compile all `scss` extension files to css and also minify them run this script\n\n\n## Available Scripts For Server\n\nFor the server side of things, Inside the root directory (server-graphql-prisma), you can run:\n\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:4000](http://localhost:4000) to view it in the browser.\n\n\n### `npm run db-deploy`\n\nRun this script to deploy prisma schema to remote server.\u003cbr\u003e\n\n### `npm run graphql-playground`\n\nRun script to see a browser view of graphql docs and queries\u003cbr\u003e\n\n\n### `npm run dev`\n\nRun script to start server and boot up graphql playground at the same time.\u003cbr\u003e\n\n### `npm run lint`\n\nRun script to check all lint errors and fixes. Read more on ESLint docs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamcyn%2Ftare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamcyn%2Ftare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamcyn%2Ftare/lists"}