| .vscode | ||
| api | ||
| config | ||
| deployment | ||
| job-scrapers | ||
| public | ||
| scraper | ||
| scripts | ||
| secrets | ||
| src | ||
| terraform | ||
| wrappers | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| appspec.yml | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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:
- NodeJS 8+ and NPM (or Yarn) for your platform (Ubuntu, Debian)
- Preferably a *nix environment (WSL/Linux/MacOS)
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.