{"id":24958623,"url":"https://github.com/prabhu30/namaste-react","last_synced_at":"2026-05-09T14:38:44.591Z","repository":{"id":225529668,"uuid":"766176385","full_name":"prabhu30/namaste-react","owner":"prabhu30","description":"Repository to commit all my projects, codes and assignments done during Namaste React course by Akshay Saini","archived":false,"fork":false,"pushed_at":"2024-03-24T07:17:39.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T07:32:42.866Z","etag":null,"topics":["akshay-saini","front-end-development","frontend","javascript","namaste-react","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/prabhu30.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}},"created_at":"2024-03-02T14:49:11.000Z","updated_at":"2024-03-03T14:42:48.000Z","dependencies_parsed_at":"2024-03-09T05:29:19.148Z","dependency_job_id":"34ed5446-250c-463f-bd5b-92a274342c72","html_url":"https://github.com/prabhu30/namaste-react","commit_stats":null,"previous_names":["prabhu30/namaste-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prabhu30%2Fnamaste-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prabhu30%2Fnamaste-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prabhu30%2Fnamaste-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prabhu30%2Fnamaste-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prabhu30","download_url":"https://codeload.github.com/prabhu30/namaste-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100483,"owners_count":20723469,"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":["akshay-saini","front-end-development","frontend","javascript","namaste-react","react"],"created_at":"2025-02-03T07:27:36.608Z","updated_at":"2026-05-09T14:38:44.542Z","avatar_url":"https://github.com/prabhu30.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Namaste React 🚀\n\n- Course Link - [Namaste React by Akshay Saini](https://namastedev.com/learn/namaste-react/)\n\n## Setting up a **React** project from Scratch\n\n- Create a folder \u003c- project-name -\u003e\n- Open command prompt inside that folder\n\n  ```\n  cd project\n  ```\n\n- Create `index.html` file and write this below code in the body\n\n  ```\n  \u003cdiv class=\"root\"\u003e\u003c/div\u003e\n\n  \u003cscript type=\"module\" src=\"main.js\"\u003e\n  ```\n\n- To initialize packaging, execute `npm init`\n- Install a bundler as dev dependency, for example :-\n\n  ```\n  npm install -D parcel\n  ```\n\n- Install react and react-dom dependencies\n\n  ```\n  npm i react\n  npm i react-dom\n  ```\n\n- Write some React and JSX code in your main script, for example in `main.js` write,\n\n  ```\n  import ReactDOM from 'react-dom/client';\n\n  const root = ReactDOM.createRoot(document.querySelector('.root'));\n\n  const Heading = function () {\n      return (\n          \u003ch1\u003eHey, Welcome to Tech Zone! 🚀\u003c/h1\u003e\n      )\n  }\n\n  root.render(\u003cHeading /\u003e);\n  ```\n\n- Now, let parcel handler the execution. Run this command - `npx parcel index.html`\n\n- In order to simplify running / spinning up development server, replace this line from `package.json` -\n\n  ```\n  \"main\": \"index.js\"\n  ```\n\n  with this\n\n  ```\n  \"source\": \"src/index.html\"\n  ```\n\n- In `scripts` object of `package.json`, write this -\n\n  ```\n  \"start\": \"parcel\",\n  \"build\": \"parcel build\",\n  ```\n\n- From next time, when you want to start the development server, use `npm start`\n- If you want to generate a production build, use `npm build`\n\n- That's it, you are good to go!!! Write some amazing react code, and kickstart the server 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabhu30%2Fnamaste-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprabhu30%2Fnamaste-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabhu30%2Fnamaste-react/lists"}