Files
twenty/docs/docs/contributor/frontend/basics/contributing.mdx
Nimra Ahmed fa9303f545 Refactored Storybook UI (#2020)
* refactored Storybook UI

* refactored Storybook UI

* removed extra cards from the doc, added card for ui components
2023-10-14 21:22:47 +02:00

45 lines
799 B
Plaintext

---
title: Contributing
sidebar_position: 1
description: Learn how you can contribute to the project
sidebar_custom_props:
icon: TbTopologyStar
---
## Pre-requesites
Make sure that your [IDE is correctly setup](/contributor/local-setup/ide-setup) and that your backend is running on `localhost:3000`.
## Starting a new feature
Make sure your database is running on the URL provided in your `server/.env` file.
```
cd front
yarn
yarn start
```
## Regenerate graphql schema based on API graphql schema
```
yarn graphql:generate
```
## Lint
```
yarn lint
```
## Test
```
yarn test # run jest tests
yarn storybook:dev # run storybook
yarn storybook:test # run tests (needs yarn storybook:dev to be running)
yarn storybook:coverage # run tests (needs yarn storybook:dev to be running)
```