$ cd to asylumconnect-catalog
$ yarn install
$ yarn dev
Local server is accessible at http://localhost:8080
Build the production assets
$ yarn build
Start the server:
$ yarn start
Our routes documentation can be found at /docs
on staging and production.
Folder structure
asylumconnect-catalog/
├── public # Static assets
├── src # All of the source code for the app
├── src/components # React components used throughout the app
├── src/images # Image assets
├── src/utils # Shared utilities
├── src/config.js # Frontend Config
├── src/index.js # Starting point for the frontend
└── src/server.js # Express server used to serve the app in production
Technologies
For responsive handling, the
render()
methodology from this reference should be used on all components that adjust based on resolution
Code Standards
In order to enforce code standards we use eslint and prettier. Setting up eslint in your code editor is the easiest way to adhere to guidlines while programming but we also lint and prettify code during the commit process using lint-staged.