{"id":19763686,"url":"https://github.com/rajdeepc/node-on-client","last_synced_at":"2025-02-28T03:41:46.465Z","repository":{"id":39347141,"uuid":"216878284","full_name":"Rajdeepc/node-on-client","owner":"Rajdeepc","description":"use node on client side","archived":false,"fork":false,"pushed_at":"2023-01-04T23:14:58.000Z","size":1293,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T23:45:25.191Z","etag":null,"topics":["filereader","filesystem","frontend","frontend-webdevelopment","javascript","nodejs","preval","react","react-nodejs-demo","reactjs"],"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/Rajdeepc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-22T18:03:25.000Z","updated_at":"2022-01-25T06:20:09.000Z","dependencies_parsed_at":"2023-02-02T23:31:06.104Z","dependency_job_id":null,"html_url":"https://github.com/Rajdeepc/node-on-client","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/Rajdeepc%2Fnode-on-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajdeepc%2Fnode-on-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajdeepc%2Fnode-on-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajdeepc%2Fnode-on-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rajdeepc","download_url":"https://codeload.github.com/Rajdeepc/node-on-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241095949,"owners_count":19908896,"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":["filereader","filesystem","frontend","frontend-webdevelopment","javascript","nodejs","preval","react","react-nodejs-demo","reactjs"],"created_at":"2024-11-12T04:10:40.020Z","updated_at":"2025-02-28T03:41:46.442Z","avatar_url":"https://github.com/Rajdeepc.png","language":"JavaScript","readme":"## Read Folders and Files of a project with react front end\n\nA simple React App to demonstrate how to read your folders and their files from a front end library like React with using a backend Node layer.\nHere we have used preval.macro which creates a wrapper and server layer to create your own node module and read folders and files through it.\n\n## How it Works\n\n![Preval](preval.jpg)\n\n### Getting Started\nTo get you started you can simply clone the repository:\n\n```\ngit clone https://github.com/Rajdeepc/read-file-from-react-withour-node.git\n```\n\n### Prerequisites\nYou need git to clone the repository. You can get git from\n[http://git-scm.com/](http://git-scm.com/).\n\nA number of node.js tools is necessary to initialize and test the project. You must have node.js and its package manager (npm) installed. You can get them from  [http://nodejs.org/](http://nodejs.org/). The tools/modules used in this project are listed in package.json and include express, mongodb and mongoose.\n\n### Installing\n\nand install the dependencies\n```\nnpm install\n```\n\n#### Lint \u0026 Build\n\n```sh\nnpm run lint\nnpm run build\n```\n\n### Run in Local\n\nTo Run Locally Steps to follow:\n\n```\nnpm start\n```\n\n### Built With\n\n* [React js](https://github.com/facebook/react/)\n* [preval.macro](https://github.com/kentcdodds/preval.macro)\n\n\n## Contributing\n\n### Create a branch\n\n1. `git checkout master` from any folder in your local `https://github.com/Rajdeepc/read-file-from-react-withour-node.git` repository\n1. `git pull origin master` to ensure you have the latest main code\n1. `git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch\n\n### Make the change\n\n1. Follow the \"Running locally\" instructions\n1. Save the files and check in the browser\n  1. Changes to React components in `src` will hot-reload\n  1. Changes to markdown files in `content` will hot-reload\n  1. If working with plugins, you may need to remove the `.cache` directory and restart the server\n\n\n### Push it\n\n1. `git add -A \u0026\u0026 git commit -m \"My message\"` (replacing `My message` with a commit message, such as `Fixed header logo`) to stage and commit your changes\n1. `git push my-fork-name the-name-of-my-branch`\n1. Go to the [ReadFilesFromReact](https://github.com/Rajdeepc/read-file-from-react-withour-node.git) and you should see recently pushed branches.\n1. Follow GitHub's instructions.\n1. If possible, include screenshots of visual changes. A Netlify build will also be automatically created once you make your PR so other people can see your change.\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajdeepc%2Fnode-on-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajdeepc%2Fnode-on-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajdeepc%2Fnode-on-client/lists"}