Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wodenwang820118/ng-django-job-matcher
An app to match the resume and a list of company information
https://github.com/wodenwang820118/ng-django-job-matcher
angular angular-material cosine-similarity django-rest-framework nx-workspace python3
Last synced: 6 days ago
JSON representation
An app to match the resume and a list of company information
- Host: GitHub
- URL: https://github.com/wodenwang820118/ng-django-job-matcher
- Owner: WodenWang820118
- Created: 2024-05-21T11:01:55.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T14:51:38.000Z (6 months ago)
- Last Synced: 2024-05-29T02:53:52.226Z (6 months ago)
- Topics: angular, angular-material, cosine-similarity, django-rest-framework, nx-workspace, python3
- Language: TypeScript
- Homepage:
- Size: 604 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ng-django-job-matcher
## Overview
The project aims to match the given resume and a list of job descriptions or company information by the cosine similarity. The goal is to use it with traditional Chinese and English together.
## Storage
- sessionStorage: it is for portfolio-building processes
- indexeddb: it is for better data management## Nx Workspace
Please run the following command to install the required dependencies:
```bash
npm install
```## Backend
Please install `poetry` for the backend development.
cd to the `django-backend` folder and run the following commands to activate the virtual environment:
```bash
poetry shell
```You can install the dependencies by running the following command:
```bash
poetry install
```Keep the virtual environment to run other Python commands.
### Run the Django server
```bash
npm run dev-back
```The default port for the Django backend is 8000. To test the backend, use the following data with `http://localhost:8000/api/cosinesimilarity/`:
```json
{
"resume": "Experienced software developer with expertise in Python and Django.",
"company_texts": [
{
"id": "1",
"text": "We are looking for an experienced software developer with expertise in Python and Django."
},
{
"id": "2",
"text": "We are looking for a software developer with expertise in Python and Django."
},
{
"id": "3",
"text": "We are looking for a software developer with expertise in Python."
}
]
}
```### Create an endpoint
After adding an endpoint app, the following documents are generated:
- endpoint
- asgi.py
- settings.py
- urls.py
- wsgi.pyAfter managing the endpoint app, in the `endpoint` folder, run the following command to create a migration:
```bash
python manage.py makemigrations
```Then, run the following command to apply the migration:
```bash
python manage.py migrate
```Please refer to the [official documentation](https://docs.djangoproject.com/en/5.0/topics/migrations/) for details.
## Frontend
For the Angular front-end:
```bash
npm run dev-front
```For the Django back-end:
```bash
npm run dev-back
```The default port for the Angular frontend is 4200.
## TODOs
- Online
- Deploy the backend with render.com's product
- Deploy the frontend with Netlify
- Frontend
- Portfolio resume edit functionality
- Design
- UI/UX