@job.Title
68 |69 | 70 | @job.Location 71 | @if (job.Type == "Full time") 72 | { 73 | Full time 74 | } 75 | else if (job.Type == "Part time") 76 | { 77 | Part time 78 | } 79 | else 80 | { 81 | Internship 82 | } 83 |
84 |@job.Description
85 |├── wwwroot ├── css │ ├── custom.css │ └── site.css ├── favicon.ico ├── img │ ├── avatar.png │ ├── meeting.jpg │ ├── company-1.png │ ├── featured1.jpg │ └── logo-small.png ├── vendor │ ├── owl.carousel │ │ └── assets │ │ │ ├── owl.video.play.png │ │ │ ├── owl.theme.default.css │ │ │ └── owl.carousel.css │ ├── jquery.cookie │ │ └── jquery.cookie.js │ └── bootstrap-select │ │ └── css │ │ └── bootstrap-select.min.css ├── js │ ├── site.js │ └── front.js └── lib │ ├── jquery-validation-unobtrusive │ ├── LICENSE.txt │ └── jquery.validate.unobtrusive.min.js │ ├── jquery-validation │ └── LICENSE.md │ ├── bootstrap │ ├── LICENSE │ └── dist │ │ └── css │ │ ├── bootstrap-reboot.min.css │ │ └── bootstrap-reboot.css │ └── jquery │ └── LICENSE.txt ├── Views ├── _ViewStart.cshtml ├── _ViewImports.cshtml ├── Home │ ├── Privacy.cshtml │ ├── Search.cshtml │ ├── JobDetails.cshtml │ └── Index.cshtml ├── Shared │ ├── Error.cshtml │ ├── _CookieConsentPartial.cshtml │ ├── _ValidationScriptsPartial.cshtml │ └── _Layout.cshtml ├── Account │ ├── Login.cshtml │ ├── EmployeeRegister.cshtml │ ├── EmployerRegister.cshtml │ └── EditProfile.cshtml ├── Dashboard │ ├── ApplicantsByJob.cshtml │ ├── Applicants.cshtml │ └── Index.cshtml └── Job │ ├── Index.cshtml │ └── Create.cshtml ├── screenshots ├── one.png ├── three.png └── two.png ├── appsettings.Development.json ├── Models ├── ErrorViewModel.cs ├── Applicant.cs ├── ApplicationDbContext.cs ├── User.cs └── Job.cs ├── appsettings.json ├── ViewModels ├── JobApplicantsViewModel.cs ├── Home │ ├── JobDetailsViewModel.cs │ └── TrendingJobViewModel.cs ├── RegisterViewModel.cs ├── LoginViewModel.cs ├── EmployerRegisterViewModel.cs └── EmployeeRegisterViewModel.cs ├── Migrations ├── 20190913055118_Update Job.cs ├── 20190916190755_UpdateUser.cs ├── 20190912083400_InitialCreate.cs ├── 20190912185036_JobModel.cs ├── 20190914054745_Applicant Model.cs ├── 20190912083400_InitialCreate.Designer.cs ├── 20190912185036_JobModel.Designer.cs └── 20190913055118_Update Job.Designer.cs ├── README.md ├── Properties └── launchSettings.json ├── Program.cs ├── LICENSE ├── JobPortal.csproj ├── JobPortal.sln ├── .vscode ├── tasks.json └── launch.json ├── Helpers └── HtmlHelperExtensions.cs ├── Controllers ├── DashboardController.cs ├── HomeController.cs ├── JobController.cs └── AccountController.cs ├── .gitattributes ├── Startup.cs └── .gitignore /wwwroot/css/custom.css: -------------------------------------------------------------------------------- 1 | /* your styles go here */ -------------------------------------------------------------------------------- /Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /screenshots/one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/screenshots/one.png -------------------------------------------------------------------------------- /screenshots/three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/screenshots/three.png -------------------------------------------------------------------------------- /screenshots/two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/screenshots/two.png -------------------------------------------------------------------------------- /wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/favicon.ico -------------------------------------------------------------------------------- /wwwroot/img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/img/avatar.png -------------------------------------------------------------------------------- /wwwroot/img/meeting.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/img/meeting.jpg -------------------------------------------------------------------------------- /wwwroot/img/company-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/img/company-1.png -------------------------------------------------------------------------------- /wwwroot/img/featured1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/img/featured1.jpg -------------------------------------------------------------------------------- /wwwroot/img/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/img/logo-small.png -------------------------------------------------------------------------------- /Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using JobPortal 2 | @using JobPortal.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /wwwroot/vendor/owl.carousel/assets/owl.video.play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjurulhoque/asp-core-simple-job-portal/HEAD/wwwroot/vendor/owl.carousel/assets/owl.video.play.png -------------------------------------------------------------------------------- /Views/Home/Privacy.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Privacy Policy"; 3 | } 4 |
Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace JobPortal.Models 4 | { 5 | public class ErrorViewModel 6 | { 7 | public string RequestId { get; set; } 8 | 9 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 10 | } 11 | } -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Warning" 5 | } 6 | }, 7 | "AllowedHosts": "*", 8 | "ConnectionStrings": { 9 | "DefaultConnection": "Server=localhost;Database=asp_job_portal;Uid=root;Pwd=" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ViewModels/JobApplicantsViewModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using JobPortal.Models; 3 | 4 | namespace JobPortal.ViewModels 5 | { 6 | public class JobApplicantsViewModel 7 | { 8 | public Job Job { get; set; } 9 | 10 | public List
14 |
15 | ## Add new position as employer
16 |
17 |
18 | ## Job details
19 |
20 |
21 | Show your support by 🌟 the project!!
--------------------------------------------------------------------------------
/Models/ApplicationDbContext.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore;
3 |
4 | namespace JobPortal.Models
5 | {
6 | public class ApplicationDbContext : IdentityDbContext
12 | Request ID: @Model.RequestId
13 |
18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |
20 |21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |
26 | -------------------------------------------------------------------------------- /Migrations/20190916190755_UpdateUser.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore.Migrations; 2 | 3 | namespace JobPortal.Migrations 4 | { 5 | public partial class UpdateUser : Migration 6 | { 7 | protected override void Up(MigrationBuilder migrationBuilder) 8 | { 9 | migrationBuilder.AlterColumnNot our registered yet?
11 |12 | If you have any questions, please feel free to contact us, 13 | our customer service center is working for you 24/7. 14 |
15 | 35 |Not our registered yet?
12 |13 | If you have any questions, please feel free to contact us, 14 | our customer service center is working for you 24/7. 15 |
16 | 52 |Not our registered yet?
12 |13 | If you have any questions, please feel free to contact us, 14 | our customer service center is working for you 24/7. 15 |
16 | 52 |33 | Applied @applicant.CreatedAt.Humanize() 34 |
35 |
48 | 54 | @job.CompanyName 55 |
56 |Posted @job.CreatedAt.Humanize()
65 |
48 | 57 | @job.CompanyName 58 |
59 |Posted @job.CreatedAt.Humanize()
68 |45 |47 |@Model.Job.Description
46 |
@Model.Job.CompanyDescription
79 | 91 |30 | Applied @applicant.CreatedAt.Humanize() 31 |
32 |All created jobs
14 || Job title | 34 |Position filled | 35 |Date posted | 36 |Date expiring | 37 |Applicants | 38 |Actions | 39 |
|---|---|---|---|---|---|
| 46 | @job.Title 47 | | 48 |49 | @if (job.Filled) 50 | { 51 | Filled 52 | } 53 | else 54 | { 55 | Not Filled 56 | } 57 | | 58 |@job.CreatedAt | 59 |@job.LastDate | 60 |61 | 65 | @job.Applicants.Count() 66 | 67 | 68 | | 69 |
70 |
71 | Edit
72 |
73 | 74 | @if (job.Filled) 75 | { 76 | 78 | 79 | 80 | 81 | } 82 | else 83 | { 84 | 88 | 89 | filled 90 | 91 | } 92 | 97 | |
98 |
59 |
63 | 69 | 70 | @job.Location 71 | @if (job.Type == "Full time") 72 | { 73 | Full time 74 | } 75 | else if (job.Type == "Part time") 76 | { 77 | Part time 78 | } 79 | else 80 | { 81 | Internship 82 | } 83 |
84 |@job.Description
85 |
104 | 110 | @trending.CompanyName 111 |
112 |Posted @trending.CreatedAt.Humanize()
121 |Start searching for your new job now!
141 | 142 |Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
' + 76 | '