This project was generated with Angular CLI version 1.7.4 and then powered by Express and Mongo, and obviously Node.js. it's a MEAN project.
The main idea behind this project is to create a simple job platform to post a job and list jobs, though upload candidates resume (from Linkedin PDF) is a good feature that you can experiment here.
Other technologies used here: Bootstrap 4, CORS requests, textract PDF Reader and special thanks to Resume parser
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run node server.js
for a server to provide CORS rest api on http://localhost:3000/
if you wish to automatically reload once you made a change on any file run nodemon server.js
. For this you need to install nodemon first npm install -g nodemon
Navigate to ./uploads
to see a sample PDF file here.
- First, go to nodejs site, download and setup it for you platform
- Then, clone this repo
git clone https://github.com/aminkh17/seek-job.git [Your New Folder Name]
- Run
npm install
in terminal from root folder of the new project to setup dependencies - Install mongodb and prepare a database to connect to the app. (recommended name:
dbseekjob
). If you like you can change the connection string here - At this moment application will work fine, but! By default it supports only
.TXT
and.HTML
text formats. For better performance you should install at least support of.PDF
(and.DOC
). Here is instructions, how to do it from textract README file:PDF
extraction requirespdftotext
be installed, link. Or you can add following folder to your PATH folder on WindowsCMD> PATH %PATH%;[Full PATH OF THE BIN FOLDER]
DOC
extraction requirescatdoc
be installed, link, unless on OSX in which case textutil (installed by default) is used.DOCX
extraction requiresunzip
be available (e.g.sudo apt-get install unzip
for Ubuntu)
Please, note, that it's not necessary install support of all formats but preferably. As for me, I didn't get setup
catdoc
for.DOC
files under Windows 7, so I played only with.TXT
,.HTML
,
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.