A Django web application with functionalities for user authentication, email verification, job scraping, and custom middleware for saving user information.
- 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
- Django 3.2 or higher
- Python 3.8 or higher
- requests library
- Clone the repository
git clone https://github.com/nasir733/[SecureJobsPortal].git
- Change into the project directory
cd [repository]
- Create and activate a virtual environment
python -m venv venv
source venv/bin/activate
- Install the required packages
pip install -r requirements.txt
- Apply migrations
python manage.py migrate
- Collect static files
python manage.py collectstatic
- Run the development server
python manage.py runserver
- Register a new user or login with an existing account
- Verify your email address through the link sent to your email
- In development you can see the sent email in the terminal through which you ran
bash python manage.py runserver
- Access the dashboard page to view scraped jobs
- Logout when finished
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.
This project is licensed under the MIT License.
- WeWorkRemotely for providing the job scraping data.
For any queries or issues please raise an issue on GitHub.