{"id":21409869,"url":"https://github.com/stackbuilders/nano-chat","last_synced_at":"2025-06-16T02:07:09.164Z","repository":{"id":139306657,"uuid":"140740789","full_name":"stackbuilders/nano-chat","owner":"stackbuilders","description":"Nano Chat Example ","archived":false,"fork":false,"pushed_at":"2018-08-02T21:48:30.000Z","size":7894,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-16T17:46:15.124Z","etag":null,"topics":[],"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/stackbuilders.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-12T16:48:30.000Z","updated_at":"2022-02-06T02:19:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a14e359e-91a5-4bd2-a08a-d7ccb8f3305c","html_url":"https://github.com/stackbuilders/nano-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackbuilders/nano-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbuilders%2Fnano-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbuilders%2Fnano-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbuilders%2Fnano-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbuilders%2Fnano-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackbuilders","download_url":"https://codeload.github.com/stackbuilders/nano-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbuilders%2Fnano-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260083861,"owners_count":22956408,"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":[],"created_at":"2024-11-22T17:34:49.757Z","updated_at":"2025-06-16T02:07:09.144Z","avatar_url":"https://github.com/stackbuilders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Stack Builders](sb.png)\n\n# NanoChat\n\nSimple React + Express chat web application.\n\n## Prerequisites\n\n- Install [Node.js][nodejs] v.8.11.3.\n- Install [PostgreSQL][postgresql] v.10.4.0.\n\n## Getting Started\n\nClone the repository:\n\n```\ngit clone https://github.com/stackbuilders/nano-chat.git\ncd nano-chat\n```\n\nSetup PostgreSQL, create a user and a database (some help with this can be found [here][postgresHelpLink]):\n\n```\nsudo psql postgres\npostgres=# createuser [username] --createdb\npostgres=# createdb nanochat -U [username]\n```\n\nCreate an enviroment variable for the [connection URI][postgresUriLink] with the database:\n\n```\nexport DB_CONN_NANOCHAT=postgresql://[username]:[password]@localhost:5432/nanochat\n```\n\nInstall [sequelize-cli][sequelize-cli] globally:\n\n```\nnpm install -g sequelize-cli\n```\n\nRun the migrations and the seeders from the root of the backend project:\n\n```\ncd backend/\nsequelize db:migrate\nsequelize db:seed:all\n```\n\nInstall [forever][forever] globally:\n\n```\nnpm install -g forever\n```\n\nInstall the dependencies, and start the application from the root of the project:\n\n```\ncd ..\nmake start\n```\n\nOpen `http://localhost:3001` in your browser. To stop the application run the\nfollowing command:\n\n```\nmake stop\n```\n\nTo test the endpoint `/api/users` open `http://localhost:3001/api/users` in your browser. The data should be presented in JSON format.\n\n## License\n\nMIT, see the [LICENSE](LICENSE) file.\n\n[forever]: https://github.com/foreverjs/forever\n[nodejs]: https://nodejs.org/en/download\n[postgresql]: https://www.postgresql.org/download\n[postgresHelpLink]: https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb\n[postgresUriLink]: https://jdbc.postgresql.org/documentation/head/connect.html\n[sequelize-cli]: https://github.com/sequelize/cli","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbuilders%2Fnano-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackbuilders%2Fnano-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbuilders%2Fnano-chat/lists"}