A project developed during the STRV Frontend Academy 2022. For the Academy lessons, please, check out the Wiki pages.
Follow this section to get the project running on your development machine.
Before getting started, make sure you have these tools installed:
We recommend you use nvm to install Node.js.
Provided you have all prerequisites ready, you can install the application with the following command:
yarn
Setup environment variables:
cp .env.example .env
For the API_KEY
, reach out to daniel.kraus@strv.com.
To start a local server with the running application, run the following:
yarn dev
The application is deployed at Vercel everytime new commits are pushed to the main
branch (production mode) or to other branches (preview mode).
In case you need to deploy manually, you can install the Vercel CLI and run the following command:
vercel
Deploys to Vercel will also generate dependency maps, which are made public on the deploy URL on the following paths:
_dev/architecture/index.html
: Full map_dev/architecture/2.html
: 2 levels deep_dev/architecture/3.html
: 3 levels deep_dev/architecture/4.html
: 4 lebels deep_dev/architecture/5.html
: 5 levels deep
This should not be available in production, but we make it so as a means to have historical evolution of the architecture refactoring.
To start contributing to this project:
- Clone the repository
- Create a new branch (
git checkout -b feature/feature-name
) - Commit your changes (
git commit -m 'feat: add login form'
) - Push to the branch (
git push origin feature/feature-name
) - Open a Pull Request