{"id":14956681,"url":"https://github.com/uconnect-technologies/wertik-js","last_synced_at":"2025-10-24T10:30:53.886Z","repository":{"id":36020159,"uuid":"163622102","full_name":"Uconnect-Technologies/wertik-js","owner":"Uconnect-Technologies","description":"💪 A library that powers your app with GraphQL + Rest API ","archived":true,"fork":false,"pushed_at":"2024-05-12T04:15:26.000Z","size":3854,"stargazers_count":87,"open_issues_count":7,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-07T14:12:43.753Z","etag":null,"topics":["api","boilerplate","database","express-graphql","express-graphql-boilerplate","express-js","graphql","graphql-server","javascript","mongodb-database","mongoose","mysql","nodejs","reactjs","saas-boilerplate","starter-kit","vuejs","wertik-js"],"latest_commit_sha":null,"homepage":"http://wapgee.com/wertik","language":"TypeScript","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/Uconnect-Technologies.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-12-30T22:34:34.000Z","updated_at":"2024-11-26T15:21:39.000Z","dependencies_parsed_at":"2024-01-02T03:27:53.664Z","dependency_job_id":"d6d7f29d-99a2-4cba-a7cd-b5c92756703f","html_url":"https://github.com/Uconnect-Technologies/wertik-js","commit_stats":{"total_commits":766,"total_committers":10,"mean_commits":76.6,"dds":0.3433420365535248,"last_synced_commit":"dc2fc3443adde46c736a40ff3c1450375014a780"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uconnect-Technologies%2Fwertik-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uconnect-Technologies%2Fwertik-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uconnect-Technologies%2Fwertik-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uconnect-Technologies%2Fwertik-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uconnect-Technologies","download_url":"https://codeload.github.com/Uconnect-Technologies/wertik-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950811,"owners_count":19392666,"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","boilerplate","database","express-graphql","express-graphql-boilerplate","express-js","graphql","graphql-server","javascript","mongodb-database","mongoose","mysql","nodejs","reactjs","saas-boilerplate","starter-kit","vuejs","wertik-js"],"created_at":"2024-09-24T13:13:20.677Z","updated_at":"2025-10-24T10:30:53.529Z","avatar_url":"https://github.com/Uconnect-Technologies.png","language":"TypeScript","readme":"# Wertik-JS V3\n\nWertik is a tiny Node JS framework that helps you set up servers with support for\n\n- MySQL Database\n- Emailing\n- GraphQL\n- Modules\n- Rest Api\n- Storage\n- Sockets\n- Cron Jobs\n- Redis\n- Logger\n\n## Installation\n\nYou can install wertik-js by using yarn or npm:\n\nYarn\n\n```\nyarn add wertik-js\n```\n\nNpm\n\n```\nnpm install wertik-js\n```\n\n## Setting up server\n\nTo start wertik-js server you need to import wertik and start it:\n\n```js\nimport wertik from \"wertik-js/lib/\"\n\nweritk({\n  port: 1200,\n})\n```\n\nIn your console you will see something like this:\n\n```log\nWertik JS app listening at http://localhost:1200\n```\n\nIf you visit [http://localhost:1200](http://localhost:1200), you will see a response like this:\n\n```log\nCannot GET /\n```\n\n🚀 You have successfully started wertik server. There is nothing in wertik app right now. Let's make it interactive by adding:\n\n- MySQL Database\n- Mailer\n- GraphQL\n- Modules\n- Rest Api\n- Storage\n- Sockets\n- Cron Jobs\n- Redis\n\n## Accessing Wertik Inside GraphQL Resolver and Express Handler\n\nYou can access Wertik instance inside GraphQL and Express handler through:\n\n- Express\n\n```javascript\napp.get(\"/somepath\", (req, res) =\u003e {\n  console.log(req.wertik) // Wertik App\n  res.send(\"Some Info\")\n})\n```\n\nFor more please see [This line](https://github.com/Uconnect-Technologies/wertik-js/blob/master/src/next/index.ts#:~:text=req.wertik%20%3D%20wertikApp%3B).\n\n- GraphQL Resolver\n\n```javascript\nfunction Resolver(_, args, context, info) =\u003e {\n  console.log(context.wertik); // Wertik App\n  return \"Some Info\"\n}\n```\n\nFor more please see: [This line](\u003chttps://github.com/Uconnect-Technologies/wertik-js/blob/master/src/next/graphql/index.ts#:~:text=context%3A%20async%20()%20%3D%3E%20%7B\u003e)\n\nWith keyword Wertik you can access everything that lies inside wertik from database, modules, sockets, mailer, cron jobs to everything in Wertik app.\n\n## Why you should use Wertik JS\n\nWertik JS lightens up your app with different features, Wertik can be helpful for small projects such as task management or a blog application. With modules with Wertik JS, you can easily create modules with crud operations. Furthermore, Wertik JS can lighten up your app with useful features such as Redis, Sockets, Database such as Mysql, Queue Management, Storage, Cron Jobs, and other useful features.\n\n## How Wertik JS works internally\n\nWertik JS v3 is setup in a clean way and easy way. Here is the main file which initializes Wertik JS: [Show File](https://github.com/Uconnect-Technologies/wertik-js/blob/master/src/next/index.ts).\n\nYou can check the code and if you find something that needs to be changed, you can create a new Issue [here](https://github.com/Uconnect-Technologies/wertik-js/issues/new).\n\n## Did you find a grammatical mistake in the documentation?\n\nIf you came across a grammatical mistake please create a new issue with more details in the description: [here](https://github.com/Uconnect-Technologies/wertik-js/issues/new?title=I%20found%20a%20grammatical%20mistake).\n\n## Contribute \u0026 Support\n\nPull requests are welcome. If you have discovered a bug or have a feature suggestion, feel free to create an issue on GitHub.\n\nIf you'd like to make some changes yourself, see the following:\n\n- Fork this repository to your own GitHub account and then clone it to your local device\n- Make sure yarn is globally installed (npm install -g yarn)\n- Run yarn to download required packages.\n- Build and start the application: yarn `dev-next`\n- If you contributed something new, run yarn contrib:add \u003cyour GitHub username\u003e \u003ccontribution type\u003e to add yourself to the contributors list\n- Finally, submit a pull request with your changes!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuconnect-technologies%2Fwertik-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuconnect-technologies%2Fwertik-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuconnect-technologies%2Fwertik-js/lists"}