Defunc Tier 2 Visa Sponsored Companies display with an automatic job scraper https://tusnio.dev/projects/visapp/
Find a file
2022-07-15 21:04:34 +01:00
.vscode .vscode: set tab size to 2 2018-06-30 13:33:09 +01:00
api Prepare for a new TF supported release 2022-01-28 15:46:53 +00:00
config Fix Webpack issues 2022-01-28 16:07:41 +00:00
deployment Prepare for a new TF supported release 2022-01-28 15:46:53 +00:00
job-scrapers job-scrapers/utility/uploadtos3: fail if json already exists in bucket 2019-04-29 22:06:30 +01:00
public Fix Webpack issues 2022-01-28 16:07:41 +00:00
scraper Add support for ECS scraper task 2022-02-20 21:08:27 +00:00
scripts add staging environment 2018-11-02 00:06:09 +00:00
secrets api: remove the scraper from the api submodule 2019-02-24 17:41:15 +00:00
src Prepare for a new TF supported release 2022-01-28 15:46:53 +00:00
terraform Add random changes before cleaning laptop 2022-07-15 21:04:34 +01:00
wrappers wrappers/postcodesio: rename 2019-04-28 23:36:47 +01:00
.eslintignore eslint run 2018-06-24 18:08:50 +01:00
.eslintrc eslintrc: add missing prettier extension 2018-10-05 23:34:25 +01:00
.gitignore Reinclude package json into scraper 2022-02-20 20:16:14 +00:00
appspec.yml appspec: scraper: job-scrapers: deployment: add support for automatic triggering of job scrapers 2019-04-11 18:57:44 +01:00
Dockerfile Add support for ECS scraper task 2022-02-20 21:08:27 +00:00
package-lock.json Further work to move to fargate 2022-02-20 14:34:41 +00:00
package.json Reinclude package json into scraper 2022-02-20 20:16:14 +00:00
README.md add api version string to predefined api url 2018-12-05 22:18:23 +00:00

Visage

Also known as Visapp, a NodeJS frontend & API that serves data to be used for simplifying the visa application, visa job search & planning process.

Local development

Setting up the environment

You will need:

Once Node has been installed run npm install in the base directory to install all modules.

Running

To run the frontend & api locally run npm run start. After webpack & the api have been set up you will be redirected to localhost:3000 where the frontend is located.

You can access the API on localhost:8081, eg. http://localhost:8081/companies

Development

You can edit the files using an IDE of your choice (Visual Studio Code is a good one) and changes will automatically reflect in your browser.

You can run api/scripts/generate_sponsors.sh [output_file] to test out the sponsors generation pipeline.

Deployment

You will need to have set up your AWS CLI beforehand.

When you are ready to deploy you can use the npm run deploy command. By default the command will deploy on staging environment, you can then deploy on production when you're ready by running npm run deploy -- production. The script will wait for the deployment to succeed before it exits.