emunhoz / foleon-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foleon application

🗂 Monorepo structure

Package Description
@foleon/web Front end application created with NextJS
@foleon/ui React components with stories
@foleon/design-tokens Design tokens (colors, font)

💥 Features

  • Login page with credentials
  • Display a list of (my) publications
  • Search the publications by name
  • Display a publication’s information
  • Pagination
  • Mobile first

⚒️ Stack

  • Lerna with PNPM monorepo
  • React (typescript)
  • Next13
  • Storybook
  • Github actions with Release
  • Github actions with Tests
  • Design tokens with style-dictionary https://amzn.github.io/style-dictionary/#/
  • Component library with React
  • Conventional commits
  • Semantic releases

🌐 Links

⚠️ Requirements

  • Node >= v18.12.1
  • PNPM >= 8.5.1

Create an .env file in @foleon/web:

NEXT_PUBLIC_CLIENT_ID=ENTER_YOUR_FOLEON_CLIENT_ID_HERE
NEXT_PUBLIC_CLIENT_SECRET=ENTER_YOUR_FOLEON_CLIENT_SECRET_HERE

Ready to go!

🚀 Start

In the root folder run following commands:

  1. Install dependencies
  pnpm i
  1. Running the project
  pnpm dev

🚦 Testing

In the root folder run following commands:

Unit tests

  pnpm test

E2E tests

  1. Running the project
  pnpm dev
  1. Running Cypress (new terminal)
  pnpm --filter @foleon/web cypress:open

About


Languages

Language:TypeScript 82.3%Language:CSS 15.6%Language:JavaScript 2.1%