{"id":24540016,"url":"https://github.com/spurtcms/jobs","last_synced_at":"2025-03-16T04:43:03.535Z","repository":{"id":235947498,"uuid":"791596967","full_name":"spurtcms/jobs","owner":"spurtcms","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-29T12:22:18.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-22T17:17:52.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/spurtcms.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,"publiccode":null,"codemeta":null}},"created_at":"2024-04-25T02:23:00.000Z","updated_at":"2024-07-29T12:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0978b039-7657-483b-a3f7-c200608e6dab","html_url":"https://github.com/spurtcms/jobs","commit_stats":null,"previous_names":["spurtcms/jobs"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fjobs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fjobs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fjobs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fjobs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spurtcms","download_url":"https://codeload.github.com/spurtcms/jobs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826778,"owners_count":20354220,"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":"2025-01-22T17:17:54.118Z","updated_at":"2025-03-16T04:43:03.508Z","avatar_url":"https://github.com/spurtcms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jobs Package\n\nOur Jobs Template is built on NextJS and React, offering a modern and efficient solution for job listing and applicant management. This template is designed to seamlessly integrate with spurtCMS Admin, providing a robust platform for managing job-related content.\n\n\n## Features\n\n- Integration with spurtCMS Admin: Use the template seamlessly with spurtCMS Admin to manage job listings, applicant details, and other job-related content efficiently.\n- Standalone Usage: The Jobs Template can also be used independently, allowing for flexibility in content management according to your specific needs.\n- Dynamic Job Listings: Easily create, edit, and delete job listings, complete with detailed information about qualifications, salary, and more.\n- Applicant Management: Track and manage applicant statuses, view applications, and streamline the recruitment process.\n\n\n\n# Installation\n\n``` bash\ngo get github.com/spurtcms/jobs\n```\n# Usage Example\n``` bash\nfunc main() {\n\n\tAuth := auth.AuthSetup(auth.Config{\n\t\tUserId:     1,\n\t\tExpiryTime: 2,\n\t\tSecretKey:  \"Secret123\",\n\t\tRoleId:     1,\n\t\tDB:         \u0026gorm.DB{},\n\t})\n\ttoken, _ := Auth.CreateToken()\n\n\tAuth.VerifyToken(token, Auth.SecretKey)\n\n\tpermisison, _ := Auth.IsGranted(\"Jobs\", auth.CRUD)\n\n\tJobs := jobs.JobsSetup(jobs.Config{\n\n\t\tDB:               \u0026gorm.DB{},\n\t\tAuthEnable:       true,\n\t\tPermissionEnable: true,\n\t\tAuth:             Auth,\n\t})\n\n\tif permisison {\n\n\t\t//List Jobs\n\t\tjobslist, totalcount, err := Jobs.JobsList(10, 0, jobs.Filter{})\n\n\t\tfmt.Println(jobslist, totalcount, err)\n\n\t\t//Create new job\n\t\tcerr := Jobs.CreateJob(jobs.CreateJobReq{JobTitle: \"Developer\", JobDescription: \"developing, coding, installing, and maintaining software systems.\", JobType: \"Full-Time\", JobLocation: \"Chennai\"})\n\n\t\tif cerr != nil {\n\n\t\t\tfmt.Println(cerr)\n\t\t}\n\t\t//Update Job\n\t\tuerr := Jobs.UpdateJob(jobs.CreateJobReq{JobTitle: \"Manager\", JobDescription: \"Develops, coordinates, and enforces systems, policies, procedures, and productivity\", JobType: \"Hybrid-Work\", JobLocation: \"Bangalore\", Id: 1})\n\n\t\tif uerr != nil {\n\n\t\t\tfmt.Println(uerr)\n\t\t}\n\t\t//Delete job\n\t\tderr := Jobs.DeleteJob(1, 1)\n\n\t\tif derr != nil {\n\n\t\t\tfmt.Println(derr)\n\t\t}\n\n\t} else {\n\n\t\tfmt.Println(\"unauthroized\")\n\t}\n\n\tapermisison, _ := Auth.IsGranted(\"Applicants\", auth.CRUD)\n\n\t\tif apermisison {\n\t\n\t\t\t//List applicants\n\t\t\tapplicantlist, totalcount, err := Jobs.ApplicantsList(10, 0, jobs.Filter{})\n\t\n\t\t\tfmt.Println(applicantlist, totalcount, err)\n\t       //Create applicant\n\t\t\tcerr := Jobs.CreateApplicant(jobs.CreateApplicantReq{Name: \"Joe\",Education: \"BE\",Experience: 2,JobType: \"Full-Time\"})\n\t\n\t\t\tif cerr != nil {\n\t\n\t\t\t\tfmt.Println(cerr)\n\t\t\t}\n\t       //Update applicant\n\t\t\tuerr := Jobs.UpdateApplicant(jobs.CreateApplicantReq{Name: \"John\",Education: \"Bsc\",Experience: 1,JobType: \"Remote-Work\"},1 )\n\t\n\t\t\tif uerr != nil {\n\t\n\t\t\t\tfmt.Println(uerr)\n\t\t\t}\n\t        //Delete applicant\n\t\t\tderr := Jobs.DeleteApplicant(1, 1)\n\t\n\t\t\tif derr != nil {\n\t\n\t\t\t\tfmt.Println(derr)\n\t\t\t}\n\t\n\t\t} else {\n\t\n\t\t\tfmt.Println(\"unauthroized\")\n\t\t}\n}\n\n\n\n```\n\n\n\n\n# Getting help\nIf you encounter a problem with the package,please refer [Please refer [(https://www.spurtcms.com/documentation/spurtcms)] or you can create a new Issue in this repo[https://github.com/spurtcms/jobs/issues]. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurtcms%2Fjobs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspurtcms%2Fjobs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurtcms%2Fjobs/lists"}