nasir733 / SecureJobsPortal

Secure portal for consulting job offers for the cybersecurity specialty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secure Job Portal

A Django web application with functionalities for user authentication, email verification, job scraping, and custom middleware for saving user information.

Features

  • User registration and login
  • Email verification for newly registered users
  • Job scraping from the website WeWorkRemotely
  • Dashboard page to view scraped jobs
  • Custom middleware for saving user IP address and device type

Requirements

  • Django 3.2 or higher
  • Python 3.8 or higher
  • requests library

Installation

  1. Clone the repository
git clone https://github.com/nasir733/[SecureJobsPortal].git
  1. Change into the project directory
cd [repository]
  1. Create and activate a virtual environment
python -m venv venv
source venv/bin/activate
  1. Install the required packages
pip install -r requirements.txt
  1. Apply migrations
python manage.py migrate
  1. Collect static files
python manage.py collectstatic
  1. Run the development server
python manage.py runserver

Usage

  1. Register a new user or login with an existing account
  2. Verify your email address through the link sent to your email
  3. In development you can see the sent email in the terminal through which you ran bash python manage.py runserver
  4. Access the dashboard page to view scraped jobs
  5. Logout when finished

Custom Middleware

The custom middleware is located in the middleware.py file in the config directory. It is responsible for saving the user's IP address and device type to the database upon successful login or registration. This information can be accessed and used as needed by the rest of the application.

License

This project is licensed under the MIT License.

Acknowledgements

  • WeWorkRemotely for providing the job scraping data.

Contact

For any queries or issues please raise an issue on GitHub.

About

Secure portal for consulting job offers for the cybersecurity specialty


Languages

Language:JavaScript 60.8%Language:CSS 33.4%Language:Python 4.4%Language:HTML 1.5%Language:Procfile 0.0%