The idea behind this project came after updating my LinkedIn profile. I also needed to update my CV at the same time and realized that it was all the same information anyway and why not just share the data. I looked into the LinkedIn APIs and realized that it should be possible.
- Gulp > javascript based build tool
- Babel > es6/7 and jsx transpiling and polyfills
- React > javascript view components/templates
- Koa > web framework for node js
Initially this site is completely rendered server side. This allows the site to work without javascript enabled and speeds up initial page loads.
Create a config.js file in the node working directory.
Note: Make sure this config is not published anywhere public like github It contains data that should be kept private
module.exports = {
"app_name": "My name",
"app_port": 8080,
"app_secret": "unique private string",
"linkedIn": {
"username": "linkedIn username",
"password": "linkedIn password",
"clientId": "linkedIn api client id",
"clientSecret": "linkeIn api client secret",
"redirectUrl": "http://127.0.0.1:8080/auth/linkedin/redirect"
},
"mongodb": {
"connectionString": "mongodb://127.0.0.1:27017/linkedin-cv"
}
};
Start the server
require('linkedIn-cv').init();