{"id":15901415,"url":"https://github.com/mbchoa/presence","last_synced_at":"2026-02-06T12:40:07.909Z","repository":{"id":18906015,"uuid":"85544254","full_name":"mbchoa/presence","owner":"mbchoa","description":"Stop watch web app","archived":false,"fork":false,"pushed_at":"2023-01-24T19:07:21.000Z","size":979,"stargazers_count":1,"open_issues_count":37,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T15:09:39.520Z","etag":null,"topics":["mongodb","react","react-hot-loader-3","react-router-v4","redis","redux","redux-form","session-management","webpack2"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mbchoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-20T06:49:59.000Z","updated_at":"2023-03-04T04:33:18.000Z","dependencies_parsed_at":"2023-02-14T00:35:17.762Z","dependency_job_id":null,"html_url":"https://github.com/mbchoa/presence","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mbchoa/presence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbchoa%2Fpresence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbchoa%2Fpresence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbchoa%2Fpresence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbchoa%2Fpresence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbchoa","download_url":"https://codeload.github.com/mbchoa/presence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbchoa%2Fpresence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29160819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["mongodb","react","react-hot-loader-3","react-router-v4","redis","redux","redux-form","session-management","webpack2"],"created_at":"2024-10-06T11:04:22.554Z","updated_at":"2026-02-06T12:40:07.889Z","avatar_url":"https://github.com/mbchoa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e # pres·ence [![Build Status](https://travis-ci.org/mbchoa/presence.svg?branch=master)](https://travis-ci.org/mbchoa/presence)\n\u003e ## /ˈprezəns/\n\u003e *noun*\n\u003e\n\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;the state or fact of existing, occurring, or being present in a place or thing.\n\n## Requirements\n\n- [Nodejs](https://nodejs.org/en/download/)\n- [Docker](https://docs.docker.com/engine/installation/)\n- [MongoDB](https://www.mongodb.com/download-center#community)\n- [Redis](https://redis.io/download)\n\n## Directory Structure\n```\n.\n├── /client/                    # Client-side package\n│   ├── /api/                   # API model class definitions\n│   ├── /dist/                  # Client-side production build output folder\n│   └── /src/                   # View source code\n│       ├── /components/        # Top-level React component package\n│       │   ├── /pages/         # Page-level route-associated components\n│       │   └── ...             # Shared React components\n│       ├── /helpers/           # Functional helpers\n│       ├── /redux/             # Redux logic\n│       ├── /themes/             # Themes folder\n│       ├── /utils/             # Class helpers\n│       ├── app.js              # React root component\n│       ├── index.js            # Client-side startup script\n│       └── styles.css          # Global styles\n├── /server/                    # Server-side package\n│   ├── /build/                 # Server-side production build output folder\n│   ├── /helpers/               # Server-side helper lib\n│   ├── /middleware/            # Middleware server logic\n│   ├── /users/                 # MongoDB user schema model definition\n│   ├── Dockerfile              # Commands for building Docker image for production\n│   ├── gulpfile.babel.js       # Gulp tasks to compile server source files\n│   ├── package.json            # List of 3rd party libraries and utilities\n│   └── server.js               # Server-side startup script\n├── docker-compose.yml          # Commands to bring up app services\n└── config.js                   # Environment variables config file\n```\n## Development\nYou can develop on this project in two ways:\n\n1. Docker method:  Run the single command below and start hacking\n2. Piecemeal method:  Start up the backend server, then start up the client-side webpack dev server\n\n### Docker Setup\n\n1. Run `docker-compose -f docker-compose.yml -f docker-compose.dev.yml up`\n2. Open browser at `http://localhost:8080`\n\nThis will bring up the Redis and MongoDB containers and start up webpack-dev-server at `http://0.0.0.0:8080` in a container and mount the `/client` folder inside the frontend container so changes can be made live.\n\n### Client Setup\n\n1. `cd` to `/client` folder in this repo\n2. Run `npm install`\n3. Run `npm run dev`\n\nLocal webpack dev server will now be started at `http://localhost:8080`.  \n\n### Server Setup\n\n1. `cd` to `/server` folder in this repo\n2. Run `redis-server` to start up Redis server\n3. Run `mongod` to start up MongoDB server\n4. Run `npm install` to install npm modules \n5. Run `npm start` to build and start backend server\n\nExpress server with redis and mongo clients will now be started at `http://localhost:3000`.\n\n## Production\n\n1. Run `docker-compose up`\n2. Navigate to `http://localhost:4000`\n\n## Resources\n\n- Insall Redis on Mac OS X via Homebrew [https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298](https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298)\n- Install MongoDB on Mac OS X [https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)\n- Install Docker [https://docs.docker.com/engine/installation/](https://docs.docker.com/engine/installation/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbchoa%2Fpresence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbchoa%2Fpresence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbchoa%2Fpresence/lists"}