- Frontend
- Testing
- Node.js
- Installation
sudo apt install nodejs
- If you have newer Node version, you can downgrade it with
n
:
sudo npm install -g n sudo n stable
- Installation
- Yarn > 3.3.0 (Berry)
- Installation https://yarnpkg.com/getting-started/install
corepack enable yarn set version berry
- make sure
cmdtest
is not installed, it has a differentyarn
command
git clone git@github.com:podkrepi-bg/frontend.git
cd frontend
# Symlink dev environment on Mac / Linux
ln -nfs .env.local.example .env.local
# Symlink dev environment on Windows
mklink .env.local .env.local.example
# Install dependencies
yarn
# Start the project
yarn dev
Visit http://localhost:3040/
In order to use the frontend together with the API for it you need to clone and start the backend project.
Follow API instructions at https://github.com/podkrepi-bg/api#setup-development-environment
In order to use the frontend together with the API and be able to test donations and payments you would need to install and start a StripeCLI
Follow the instructions at https://github.com/podkrepi-bg/api/blob/master/TESTING.md
End to end testing is done on every PR with Playwright. Github Workflows start the whole stack and run tests in headless mode.
Read more at End-2-End Testing
Watch releases of this repository to be notified about future updates:
Please check contributors guide for:
- Development setup
- Linting
- Production setup
- Pull requests guidelines
- Branching strategy
- React guidelines
Thanks goes to these wonderful people:
If you want to be added or removed from this list please follow up on this issue.
This project follows the all-contributors specification. Contributions of any kind are welcome!