{"id":21133459,"url":"https://github.com/sheitak/node-express-env","last_synced_at":"2025-06-13T20:39:21.577Z","repository":{"id":110785577,"uuid":"332208422","full_name":"Sheitak/node-express-env","owner":"Sheitak","description":"Node.js and Express.js code repository, it contains several examples of possible data manipulations, especially with the Express.Js framework.","archived":false,"fork":false,"pushed_at":"2021-02-01T16:00:42.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T12:34:40.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Sheitak.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":"2021-01-23T12:46:11.000Z","updated_at":"2021-02-01T16:00:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"1af00c9d-1d51-4214-8820-caa48bb5c829","html_url":"https://github.com/Sheitak/node-express-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sheitak/node-express-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheitak%2Fnode-express-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheitak%2Fnode-express-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheitak%2Fnode-express-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheitak%2Fnode-express-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sheitak","download_url":"https://codeload.github.com/Sheitak/node-express-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheitak%2Fnode-express-env/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259718016,"owners_count":22901176,"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-20T06:10:11.951Z","updated_at":"2025-06-13T20:39:21.556Z","avatar_url":"https://github.com/Sheitak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n![Node.Js Environnement](public/images/nodejs-banner.svg \"Node.Js Logo\")\r\n\r\n### Test and handling environment\r\n\r\n__v.0.1.0__\r\n\r\nNode.js and Express.js code repository, it contains several examples of possible data manipulations, especially with the Express.Js framework.\r\n\r\n- **Getting started**\r\n- **SQL data management**\r\n- **Star-Trek : External API**\r\n\r\n#### 1. Getting started\r\n\r\nClone the repository.\r\n\r\nUse the `npm install` command.\r\n\r\nCopy the `.env.sample` file to `.env` and replace the values ​​to correctly connect your MySQL database and port.\r\n\r\nThe repository uses __nodemon__, so you can modify the __package.json__ in the script.\r\n\r\n`\"scripts\": {\r\n\"start\": \"nodemon src/index.js\"\r\n},`\r\n\r\nand replace `src/index.js` with `src/\"Your JavaScript file name\"` if you want use another startup file.\r\n\r\nLaunch `npm start`.\r\n\r\nVery well ! You are ready to go to the various endpoints to manipulate the data.\r\n\r\n#### 2. SQL data management\r\n\r\nThe index.js file shows an example of a REST API that uses the different routes types. Request/Responses are mainly done with a MySQL database. The sample SQL files are located in the data folder. __movies.js__ also provides a small, fast dataset.\r\n\r\n#### 3. Star-Trek : External API\r\n\r\nThis section shows the manipulation of JavaScript object and data in JSON format related to an external API that lists the episodes of the Star-Trek series in the __startrek.json__ file.\r\n\r\nThe Challenge specific to this file is described \u003ca href=\"https://www.notion.so/Interview-api-problem-solving-f9ce018ed4404d9f929e55de58f33347\"\u003eright here\u003c/a\u003e.\r\n\r\n**\r\n\r\nMore improvement to come.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheitak%2Fnode-express-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheitak%2Fnode-express-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheitak%2Fnode-express-env/lists"}