next-enterprise/README.md

57 lines
2 KiB
Markdown
Raw Normal View History

2024-01-24 11:35:08 +08:00
# XAM Login and Dashboard Page</br>
2023-03-25 16:53:07 +01:00
2024-01-24 11:35:08 +08:00
Developed by Luis Carlos Tan for XAM Senior React JS Developer Assessment Test. Created using [Blazity/next-enterprise](https://github.com/Blazity/next-enterprise) boilerplate.
2024-01-18 22:42:13 +01:00
## Features
2023-04-21 17:04:33 +02:00
With this template, you get all the awesomeness you need:
2023-11-26 00:01:59 +01:00
- 🏎️ **[Next.js](https://nextjs.org/)** - Fast by default, with config optimized for performance (with **App Directory**)
2023-04-21 17:04:33 +02:00
- ✨ **[ESlint](https://eslint.org/)** and **[Prettier](https://prettier.io/)** - For clean, consistent, and error-free code
- 🛠️ **[Extremely strict TypeScript](https://www.typescriptlang.org/)** - With [`ts-reset`](https://github.com/total-typescript/ts-reset) library for ultimate type safety
- **[Bundle analyzer plugin](https://www.npmjs.com/package/@next/bundle-analyzer)** - Keep an eye on your bundle size
- **[Jest](https://jestjs.io/)** and **[React Testing Library](https://testing-library.com/react)** - For rock-solid unit and integration tests
- **[Absolute imports](https://nextjs.org/docs/advanced-features/module-path-aliases)** - No more spaghetti imports
2024-01-24 11:35:08 +08:00
- **[Yarn](https://yarnpkg.com/)** - A package manager and project manager as well
- **[Redux](https://redux.js.org/)** - State management package for JS Apps
- **[Material UI](https://mui.com/)** - Intuitive and responsive package offering comprehensive suite of UI Tools
2023-04-21 17:04:33 +02:00
## 🎯 Getting Started
To get started with this boilerplate, follow these steps:
1. Fork & clone repository:
```bash
2024-01-24 11:35:08 +08:00
git clone https://github.com/<your_username)/Xam-Login-Form.git
2023-04-21 17:04:33 +02:00
```
2. Install the dependencies:
```bash
yarn install --frozen-lockfile
```
3. Run the development server:
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
```bash
yarn dev
2023-03-25 16:53:07 +01:00
```
2023-04-21 17:04:33 +02:00
4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
2024-01-24 11:35:08 +08:00
5. (Optional) Run the production mode server:
2023-04-21 17:04:33 +02:00
```bash
2024-01-24 11:35:08 +08:00
yarn build
yarn start
2023-04-21 17:04:33 +02:00
```
## 🧪 Testing
### Running Tests
2024-01-24 11:35:08 +08:00
- **Unit and integration tests**: Run Jest tests using `yarn test`. Use `yarn test:watch` for a smoother development experience.