* chore: cleanup nextjs project * feat(shadcn-ui): initialize shadcn ui libs * feat: update landing app with shadcnI integration * feat: add path mapping for shadcn-ui atoms in tsconfig * feat: remove unused tw-animate-css import * feat: migrate header component * feat: migrate hero component * feat: migrate features component * feat: migrate community component * feat: migrate learning resources component * feat: migrate testimonials component * feat: migrate call to action component * feat: migrate footer component * feat: migrate simple theme switcher component * feat: update dependencies in package.json and package-lock.json * chore: add tailwind-animate-css package * feat: initialize index file to export atoms * chore: remove pnpm, accidentally added out of habit
IMPHNEN Frontend Service
This repository is a monorepo for all frontend services of IMPHNEN. The monorepo includes three main applications:
- Gacha - Application for gacha website.
- Backoffice - Application for internal management.
- Dimentorin - Application for mentoring services.
How to install
- Clone this repository:
git clone https://github.com/IMPHNEN/imphnen-frontend-service.git cd imphnen-frontend-service - Install all dependencies:
npm install
How to run
Development
Use the following commands to run in development mode:
- Gacha:
npm run gacha:dev - Backoffice:
npm run backoffice:dev - Dimentorin:
npm run dimentorin:dev
Build
Use the following commands to build the applications:
- Gacha:
npm run gacha:build - Backoffice:
npm run backoffice:build - Dimentorin:
npm run dimentorin:build
Production
Use the following commands to run the applications in production mode:
- Gacha:
npm run gacha:prod - Backoffice:
npm run backoffice:prod - Dimentorin:
npm run dimentorin:prod
Storybook
This repository uses Storybook to develop, test, and document UI components in an isolated and interactive environment. Below are the commands to work with Storybook:
-
Run Storybook
This command starts Storybook in development mode, allowing you to view and test UI components interactively.
npm run ui:storybook -
Run Unit Test
This command runs unit tests for the UI components to ensure they function as expected.
npm run ui:test -
Build Components
This command generates a static build of Storybook, which can be deployed for sharing and documentation purposes.
npm run ui:build
How to contribute
- Fork the repository and clone it locally.
- Create a new branch for a new feature or fix:
git checkout -b feat/feature-name - Make changes, commit, and push to your forked repository.
- Create a pull request to this repository
developbranch.
If you encounter any issues or problems, feel free to create a new Issue.