{"id":20900319,"url":"https://github.com/jsnomad/adonisjs-create-react-app","last_synced_at":"2025-05-13T01:32:15.555Z","repository":{"id":43582793,"uuid":"164464509","full_name":"jsnomad/adonisjs-create-react-app","owner":"jsnomad","description":"Adonisjs + Create React App Boilerplate","archived":false,"fork":false,"pushed_at":"2022-12-10T03:08:55.000Z","size":1532,"stargazers_count":21,"open_issues_count":22,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T15:10:07.110Z","etag":null,"topics":["adonis","adonisjs","api","create-react-app","nodejs","react","reactjs","spa"],"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/jsnomad.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":"2019-01-07T17:05:23.000Z","updated_at":"2023-06-26T15:37:12.000Z","dependencies_parsed_at":"2023-01-26T02:16:48.611Z","dependency_job_id":null,"html_url":"https://github.com/jsnomad/adonisjs-create-react-app","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/jsnomad%2Fadonisjs-create-react-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonisjs-create-react-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonisjs-create-react-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonisjs-create-react-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsnomad","download_url":"https://codeload.github.com/jsnomad/adonisjs-create-react-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253854056,"owners_count":21974217,"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":["adonis","adonisjs","api","create-react-app","nodejs","react","reactjs","spa"],"created_at":"2024-11-18T11:18:59.144Z","updated_at":"2025-05-13T01:32:15.245Z","avatar_url":"https://github.com/jsnomad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adonisjs-create-react-app\n\n\u003cp align=\"center\"\u003e \n\u003cimg src=\"https://res.cloudinary.com/jsnomad/image/upload/v1547050409/adonisjs-react.png\"\u003e\n\u003c/p\u003e\n\nBoilerplate/Starter Project for building APIs using [Adonisjs](https://github.com/adonisjs/adonis-framework), with a React frontend using [Create React App](https://github.com/facebook/create-react-app).\n\n# Setup\n\nInstall AdonisJs CLI globally :\n\n    npm i -g @adonisjs/cli\n\nThen create the project :\n\n    adonis new \u003cname\u003e --blueprint=jsnomad/adonisjs-create-react-app\n\nAlternatively you can clone the project and install dependencies manually :\n\n    git clone https://github.com/jsnomad/adonisjs-create-react-app.git\n    npm install\n\nInstall React dependencies :\n\n    cd front\n    npm install\n\n# Start\n\nRun the following command to start the HTTP server :\n\n    adonis serve --dev\n\nRuns the React app in development mode :\n\n    cd front\n    npm start\n\nThen you can access to the React App using :\n\n    http://localhost:3000/\n\n### Make API request\n\n    fetch('/api/v1/***')\n\nIn development, the React development server will recognize that it’s not a static asset, and will proxy your request to `http://localhost:3333/api/v1/***` as a fallback.\n\n# Production\n\nCreate a React production build :\n\n    cd front\n    npm run build\n\nThe build folder will be automatically moved in the Adonisjs public folder.\n\nThen start the HTTP server using a process manager like pm2 (recommended) :\n\n    pm2 start server.js\n\nFor better performance, consider using nginx as a reverse proxy (faster to server static assets).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnomad%2Fadonisjs-create-react-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsnomad%2Fadonisjs-create-react-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnomad%2Fadonisjs-create-react-app/lists"}