This repository is a monorepo powered by Turbo which contains all our front-end applications and packages. We use the pnpm as our package manager.
Please install pnpm
. Other package manager will not work with the current tools.
In order to maintain consistent coding styles across various editors and IDEs install the EditorConfig plugin on your IDE
https://editorconfig.org/#download
According to code policies you might need additional library:
- Prettier
- Eslint
You might lint and format code before pushing it!
To start front-end applications, you will generally require an up and running backend to integrate your feature or to deal with real use cases. We are doing our best effort to have an easy-to-use development environment, but this is still in reflexion on our side.
To fix issues or update packages, we recently integrated a new developer experience feature: the mock server. By default, it is enabled. If you wish to disable it to use a real Polyflix API, please set the mocked
attribute to false
in the apps/polyflix/src/environments/environment.ts
.
Clone the repository:
git clone [email protected]:polyflix/frontend.git
Install dependencies :
pnpm install
Run the app :
pnpm start
Your app should now be accessible at http://localhost:3000.
pnpm build
For contributing to this project, please take note of this document.