Skip to content

daiterranova/wcc-frontend

 
 

Repository files navigation

WCC Logo White

Contributors Forks Issues Stargazers

WCC Frontend Application

This is the FE application (NextJS) for Women Coding Community website.

How to contribute?

See our Contributing page.

Requirements for running on your machine

  • Node (20+)
  • Pnpm (v9+)

If you don't have node, go to their downloads page.

If you don't have pnpm you can install it with npm running

npm install -g pnpm@9

Then, install project dependencies

  pnpm install

Next, create an .env.local file in your root folder. In this file please paste the following:

API_BASE_URL=https://wcc-backend.fly.local/api/cms/v1
API_KEY={your_local_api_key}

This will allow your local to connect to the backend, if you don't yet have an API_KEY please send a message via our dedicated Slack channel. This will never be committed to the github repository.

Now you can run the application using

  pnpm dev

You can run also these commands pre-commit for your peace of mind. The application uses husky, which will run these same checks before you can commit.

  pnpm lint:fix && pnpm format && pnpm type-check

For running unit tests, you can use this command:

  pnpm test

Use this one to run playwright (e2e) tests:

  pnpm test:e2e

For running e2e tests in a Docker container (recommended for consistency across environments):

  pnpm run test:e2e:docker

This uses Docker Compose to run Playwright tests in an isolated container.

To update visual regression snapshots (when UI changes are intentional):

  pnpm run test:e2e:docker:update

This updates the reference screenshots used in visual tests.

About

Frontend for Women Coding Community Platform Project

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.4%
  • Other 0.6%