{"id":22552838,"url":"https://github.com/rosesonfire/react-try-out","last_synced_at":"2026-04-02T03:04:04.532Z","repository":{"id":83779777,"uuid":"104645558","full_name":"rosesonfire/react-try-out","owner":"rosesonfire","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-25T16:41:33.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T12:47:59.807Z","etag":null,"topics":["babel","es6","graphql","nodejs","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/rosesonfire.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":"2017-09-24T13:22:16.000Z","updated_at":"2017-11-13T09:14:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffc6bc03-759c-4a39-a8ee-7e767a41662e","html_url":"https://github.com/rosesonfire/react-try-out","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rosesonfire/react-try-out","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosesonfire%2Freact-try-out","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosesonfire%2Freact-try-out/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosesonfire%2Freact-try-out/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosesonfire%2Freact-try-out/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosesonfire","download_url":"https://codeload.github.com/rosesonfire/react-try-out/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosesonfire%2Freact-try-out/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["babel","es6","graphql","nodejs","reactjs"],"created_at":"2024-12-07T18:07:42.806Z","updated_at":"2026-04-02T03:04:04.507Z","avatar_url":"https://github.com/rosesonfire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-try-out\n## Trello\n[https://trello.com/b/5ugkxmBt/react-test](https://trello.com/b/5ugkxmBt/react-test)\n## First time installation\n`npm install`\n## To migrate database\n`npm run migrate`\n## To start application\n`npm start`\n## To test application\n`npm run test`\u003cbr /\u003e\nThis will also generate html test coverage reports under [coverage](coverage) and open the reports on browser.\n## Notes\n- Servers will automatically reload on changes.\n- Browsers will automatically reload on changes in [frontEnd](src/frontEnd/main) folder.\n- Code inside [dist](dist) is auto-generated, **DO NOT** make any change in it.\n- Edit code inside [src](src) is for development purpose.\n- Database used is **mongoDB**.\n## Mode\n- **Development mode** - set `NODE_ENV` to `development`.\n- **Production mode** - set `NODE_ENV` to `production`.\n## Configuration files\nAll the necessary configurations like back end server, front end server, database, etc are stored in the [configuration folder](src/main/config). A [README](config.README.md) is available for it.\n## Database migration\n- To create a new migration run `npm run create-migration \u003cname\u003e`. This will create a new migration in [src/main/db/migrations](src/main/db/migrations) with the given _name_.\n- To migrate up run `npm run migrate`. This will migrate up all the migrations into the database.\n- To migrate down run `npm run migrate down \u003cname\u003e`. This will migrate down the migration with the given name from the database.\n- To list migrations run `npm run list-migrations`. This will list all the migrations with their statuses.\n- To prun migrations run `npm run prune-migrations`. This will remove all the deleted migrations from the database.\n## Files\n1. [.babelrc](.babelrc) - the babel configuration file, for configuring es6 traspilation configuration.\n1. [config.README.md](config.README.md) - describes the configurations.\n1. [.eslintrc.json](.eslintrc.json) - eslint configuration file.\n1. [package.json](package.json) - npm package configuration. Contains list of dependencies and scripts. A [README](package.json.README.md) is available for it.\n1. [package.json.README.md](package.json.README.md) - describes the dependencies and scripts in package.json.\n1. [README.md](README.md) - this file, contains necessary documentations.\n1. [src](src) - the folder that contains the development code. Edit files in this folder for development purpose.\n    1. [api](src/api) - contains api layer code.\n        1. [main](src/api/main) - the api layer code.\n        1. [test](src/api/test) - the api layer tests.\n    1. [backEnd](src/backEnd) - contains the back end code.\n        1. [main](src/backEnd/main) - the back end dev code.\n            1. [app](src/backEnd/main/app) - contains the mvc application.\n                1. [controllers](src/backEnd/main/app/controllers) - contains the mvc controllers.\n                1. [services](src/backEnd/main/app/services) - contains the business logic.\n            1. [config](src/backEnd/main/config) - configurations of the back-end app like routers, middlewares, etc.\n                1. [Middlewares](src/backEnd/main/config/middlewares.js) - contains the middleware configurations.\n                1. [Router](src/backEnd/main/config/router.js) - HTTP router.\n            1. [index.js](src/backEnd/main/index.js) - the code that is run by nodemon for starting the back end server.\n            1. [ioc](src/backEnd/main/ioc) - contains inversion of control configurations.\n            1. [lib](src/backEnd/main/lib) - contains customized libraries.\n        1. [test](src/backEnd/test) - the back end tests.\n    1. [config](src/config) - contains different configurations.\n        1. [dev.conf.js](src/config/dev.conf.js) - configuration file for **devlopment mode**.\n        1. [index.js](src/config/index.js) - configuration resolved based on **mode**.\n        1. [prod.conf.js](src/config/prod.conf.js) - configuration file **production mode**.\n    1. [dataAccess](src/dataAccess) - contains the database schemas.\n    1. [db](src/db) - contains the database migration configurations.\n        1. [migrations](src/db/migrations) - contains the database migration files.\n        1. [migrate.conf.js](src/db/migrate.conf.js) - contains the database migration configurations.\n        1. [MigrationHelper](src/db/migrationHelper.js) - contains helper functionality for migration.\n    1. [frontEnd](src/frontEnd) - contains the front end code.\n        1. [main](src/frontEnd/main) - the front end dev code.\n            1. [app](src/frontEnd/main/app) - contains the react application.\n                1. [actions](src/frontEnd/main/app/actions) - contains the redux actions.\n                1. [components](src/frontEnd/main/app/components) - contains the react components.\n                    1. [App](src/frontEnd/main/app/components/app.js) - react entry component.\n                    1. [pages](src/frontEnd/main/app/components/pages) - contains the client side routed pages.\n                1. [middlewares](src/frontEnd/main/app/middlewares) - contains the custom redux middlewares.\n                1. [reducers](src/frontEnd/main/app/reducers) - contains the redux reducers.\n                1. [services](src/frontEnd/main/app/services) - contains the async services.\n                1. [template.html](src/frontEnd/main/app/template.html) - landing template for react application.\n            1. [img](src/frontEnd/main/img) - folder for storing custom images.\n            1. [index.js](src/frontEnd/main/index.js) - the code that is run by webpack dev server for starting the front end server.\n            1. [registry](src/frontEnd/main/registry) - contain registered stuff (needs to be improved).\n            1. [scripts](src/frontEnd/main/scripts) - folder for storing custom js.\n            1. [styles](src/frontEnd/main/styles) - folder for storing custom css.\n            1. [webpack.config.js](src/frontEnd/main/webpack.config.js) - contains the webpack configurations.\n        1. [test](src/frontEnd/test) - the front end tests.\n1. [tsconfig.json](tsconfig.json) - type script configuration. Needed for decorators in vscode.\n## Generated folders and files\n1. [.nyc_output](.nyc_output) - the folder in which the test coverage data is saved in.\n1. [coverage](coverage) - the folder in which the test covergage reports are generated into.\n1. [dist](dist) - the folder in which the es6 code is transpiled into and the servers runs on.\n1. [node_modules](node_modules) - the folder in which the node modules are installed.\n1. [package-lock.json](package-lock.json) - the compiled npm package configuration file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesonfire%2Freact-try-out","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosesonfire%2Freact-try-out","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesonfire%2Freact-try-out/lists"}