{"id":22790973,"url":"https://github.com/jl-olemar/rickandmortyapi","last_synced_at":"2026-05-03T23:36:35.658Z","repository":{"id":117175697,"uuid":"380654143","full_name":"JL-OLEMAR/RickAndMortyApi","owner":"JL-OLEMAR","description":"Api de Rick and Morty, conocimientos prácticos de Webpack. ","archived":false,"fork":false,"pushed_at":"2021-06-27T05:35:15.000Z","size":2319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T16:47:28.574Z","etag":null,"topics":["api-rest","javascript","rickandmortyapi","sass","webpack"],"latest_commit_sha":null,"homepage":"https://JL-OLEMAR.github.io/RickAndMortyApi/","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/JL-OLEMAR.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-06-27T04:59:00.000Z","updated_at":"2021-06-27T05:41:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"332d3fc8-75e0-4a1c-8135-419f88494a28","html_url":"https://github.com/JL-OLEMAR/RickAndMortyApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JL-OLEMAR/RickAndMortyApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JL-OLEMAR%2FRickAndMortyApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JL-OLEMAR%2FRickAndMortyApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JL-OLEMAR%2FRickAndMortyApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JL-OLEMAR%2FRickAndMortyApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JL-OLEMAR","download_url":"https://codeload.github.com/JL-OLEMAR/RickAndMortyApi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JL-OLEMAR%2FRickAndMortyApi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265802001,"owners_count":23830506,"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":["api-rest","javascript","rickandmortyapi","sass","webpack"],"created_at":"2024-12-12T02:30:13.156Z","updated_at":"2026-05-03T23:36:30.632Z","avatar_url":"https://github.com/JL-OLEMAR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Webpack Template\nThis project was created in order that it can be used for different projects, personal, business, you can give it the use you want.\n## Available Scripts\nTo start clone the project and use:\n### `yarn`  or you can also use `npm install`\n\nTo start the server in your browser:\n### `yarn dev` or you can also use `npm run dev`\n\nTo create your production files:\n### `yarn build` or you can also use `npm run build`\n\n## What does this template bring?\nThis template already has installed what is necessary to be able to be used in its entirety\n* `ReactJS and ReactDOM`\n* `JSX | JS`\n* `CSS | SASS`\n\n### The webpack.common.js is configured as follows:\n```js\nconst { CleanWebpackPlugin } = require(\"clean-webpack-plugin\");\nconst HtmlWebpackPlugin = require(\"html-webpack-plugin\");\nconst path = require(\"path\");\n\n/** @type {import('webpack').Configuration} */\nmodule.exports = {\n  entry: \"./src/index.js\",\n  output: {\n    path: path.resolve(__dirname, \"../dist\"),\n    filename: \"[name].[contenthash].js\",\n    publicPath: \"\",\n  },\n  module: {\n    rules: [\n      {\n        use: \"babel-loader\",\n        test: /\\.(js|jsx)$/,\n        exclude: /node_modules/,\n      },\n      {\n        type: \"asset\",\n        test: /\\.(png|svg|jpg|jpeg|gif)$/i,\n      },\n    ],\n  },\n  resolve: {\n    extensions: [\".js\", \".json\", \".jsx\"],\n  },\n  plugins: [\n    new CleanWebpackPlugin(),\n    new HtmlWebpackPlugin({\n      template: \"./public/index.html\",\n    }),\n  ],\n};\n```\n\n### The webpack.prod.js is configured as follows:\n```js\nconst MiniCssExtractPlugin = require(\"mini-css-extract-plugin\");\nconst { merge } = require(\"webpack-merge\");\nconst common = require(\"./webpack.common\");\n\n/** @type {import('webpack').Configuration} */\nconst prodConfig = {\n  mode: \"production\",\n  devtool: \"source-map\",\n  module: {\n    rules: [\n      {\n        test: /\\.(css|scss|sass)$/,\n        use: [MiniCssExtractPlugin.loader, \"css-loader\", \"sass-loader\"],\n      },\n    ],\n  },\n  optimization: {\n    splitChunks: {\n      chunks: \"all\",\n      name: false,\n    },\n  },\n  plugins: [new MiniCssExtractPlugin()],\n};\n\nmodule.exports = merge(common, prodConfig);\n```\n\n### The webpack.dev.js is configured as follows:\n```js\nconst { merge } = require(\"webpack-merge\");\nconst common = require(\"./webpack.common\");\n\n/** @type {import('webpack').Configuration} */\nconst devConfig = {\n  mode: \"development\",\n  devServer: {\n    port: 3000,\n    contentBase: \"../dist\",\n    open: \"brave\",\n  },\n  target: \"web\",\n  devtool: \"eval-source-map\",\n  module: {\n    rules: [\n      {\n        test: /\\.(css|scss|sass)$/,\n        use: [\"style-loader\", \"css-loader\", \"sass-loader\"],\n      }\n    ]\n  }\n};\n\nmodule.exports = merge(common, devConfig);\n```\n\nIf you have knowledge of webpack you can modify the exit route to your liking\n\n## About\nAs explained above, this project has many purposes and if you want to use them in your projects, do not hesitate to do so.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl-olemar%2Frickandmortyapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjl-olemar%2Frickandmortyapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjl-olemar%2Frickandmortyapi/lists"}