Job Board is a web application built with Ruby on Rails and Tailwind CSS. It allows users to create, manage, and apply for job postings. The application supports three types of users: admin, employer, and freelancer, each with specific dashboards and functionalities.
- User authentication with Devise
- Role-based access control with CanCanCan
- Admin dashboard for managing the site
- Employer dashboard for posting and managing jobs
- Freelancer dashboard for viewing and applying for jobs
- Responsive design with Tailwind CSS
- Ruby: 3.0.6
- Rails: 7.1.3.2
- Tailwind CSS: 2.2.19
- Devise: 4.8.0
- CanCanCan: 3.3.0
Follow these steps to set up the project on your local machine.
- Ruby (3.0.6)
- Rails (7.1.3.2)
- PostgreSQL (>= 9.5)
-
Clone the repository:
git clone https://github.com/aliraza-stack/job-board.git cd job-board
-
Install the dependencies:
bundle install yarn install
-
Set up the database:
rails db:create db:migrate db:seed
-
Set up environment variables:
cp .env.example .env
-
Start the server:
rails s
-
Visit http://localhost:3000 in your browser.
-
Usage:
- Admin:
- Sign up as an admin to manage the site.
- Visit http://localhost:3000/admin/dashboard to access the admin dashboard.
- Employer:
- Sign up as an employer to post jobs.
- Visit http://localhost:3000/employer/dashboard to access the employer dashboard.
- Freelancer:
- Sign up as a freelancer to view and apply for jobs.
- Visit http://localhost:3000/freelancer/dashboard to access the freelancer dashboard.
- Admin:
Contributing:
- Fork and clone the repository.
- Create a new branch:
git checkout -b your-branch-name
- Make your changes and commit them:
git commit -m 'Your message here'
- Push to your fork:
git push origin your-branch-name
- Create a pull request from your branch
- If you find any bugs or have a feature request, please open an issue.
- If you have any questions, feel free to contact me at alirazaofficial.com
- Show your support by ⭐ the project.
- Give suggestions to improve this project.
- Thanks for using Job Board!
This project is open source and available under the MIT License.