{"id":25697864,"url":"https://github.com/serhatpolat/crudizer-core-server","last_synced_at":"2026-04-12T00:02:54.571Z","repository":{"id":221553474,"uuid":"752439259","full_name":"SerhatPolat/crudizer-core-server","owner":"SerhatPolat","description":"Backend of crudizer-core (Node.js, Express.js, MongoDB, cors, dotenv)","archived":false,"fork":false,"pushed_at":"2024-02-08T10:13:28.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-08T17:38:03.030Z","etag":null,"topics":["api","backend","cors","dotenv","expressjs","javascript","mongodb","nodejs"],"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/SerhatPolat.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-03T21:03:30.000Z","updated_at":"2024-02-08T17:38:07.376Z","dependencies_parsed_at":"2024-02-08T17:49:10.192Z","dependency_job_id":null,"html_url":"https://github.com/SerhatPolat/crudizer-core-server","commit_stats":null,"previous_names":["serhatpolat/crudizer-core-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhatPolat%2Fcrudizer-core-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhatPolat%2Fcrudizer-core-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhatPolat%2Fcrudizer-core-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhatPolat%2Fcrudizer-core-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SerhatPolat","download_url":"https://codeload.github.com/SerhatPolat/crudizer-core-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240589610,"owners_count":19825390,"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","backend","cors","dotenv","expressjs","javascript","mongodb","nodejs"],"created_at":"2025-02-25T02:32:38.948Z","updated_at":"2025-11-18T00:03:58.466Z","avatar_url":"https://github.com/SerhatPolat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crudizer-core\n\ncrudizer-core is a fullstack CRUD web app kickstarter which one is includes common essentials:\n\n- E2E data listing (w/ pagination) (Mongo database =\u003e Node.js backend =\u003e Nuxt 3 \u0026 Axios API requests =\u003e UI)\n- Ready to use E2E base64 image dataflow\n- Create/Update/Delete transactions for items\n- Item detail page \u0026 related logics\n- Ready to use UI for essentials (w/ responsive styling and config based color usage)\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\n### Set up environment variables\n\nSet `MONGODB_URI` variable on `.env` file (which one is included in .gitignore):\n\n- `MONGODB_URI` - Your MongoDB connection string. If you are using [MongoDB Atlas](https://mongodb.com/atlas) you can find this by clicking the \"Connect\" button for your cluster.\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\n### Set up dynamic parts\n\n```js\n// In my Mongo database, 'company' is my db name and 'products' is my collection name. You should update that parts with your db and collection namings.\n\nconst itemsCollection = client.db(\"company\").collection(\"products\");\n```\n\n```js\n// When you adding new endpoints you just need to change endpoint itself (\"/api/items\") and itemsCollection value.\n\n// NOTE: If you want to add a different behavior to your new endpoint of course you should change other things\n\napp.post(\"/api/items\", async (req, res) =\u003e {\n  try {\n    const newItem = req.body;\n    const result = await itemsCollection.insertOne(newItem);\n    res.status(201).json({ message: \"Item created successfully\" });\n  } catch (error) {\n    res.status(500).json({ error: error.message });\n  }\n});\n```\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\n### About get requests\n\nThere is 3 options for read transactions of items. You can use the right one according to your needs for different situations.\n\n- Get all items together\n- Get items with a pagination structure\n- Just get one item with id\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\n_This is **backend** repo of crudizer-core, you can reach to **frontend** from here:_ [crudizer-core-client](https://github.com/SerhatPolat/crudizer-core-client)\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nRun server:\n\n```bash\nnode app.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhatpolat%2Fcrudizer-core-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserhatpolat%2Fcrudizer-core-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhatpolat%2Fcrudizer-core-server/lists"}