init
This commit is contained in:
@@ -1,37 +1,77 @@
|
||||
# Worklenz
|
||||
# Worklenz - React Application
|
||||
|
||||
[](https://github.com/ceydigital/worklenz-frontend/actions/workflows/workflow.yml)
|
||||
Worklenz is a task management application built with React and bundled using [Vite](https://vitejs.dev/).
|
||||
|
||||
[](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend) [](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend) [](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend) [](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend) [](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend) [](https://sonar.ceydigitalworld.com/dashboard?id=Worklenz-Frontend)
|
||||
## Table of Contents
|
||||
- [Getting Started](#getting-started)
|
||||
- [Available Scripts](#available-scripts)
|
||||
- [Project Structure](#project-structure)
|
||||
- [Contributing](#contributing)
|
||||
- [Learn More](#learn-more)
|
||||
|
||||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.1.
|
||||
## Getting Started
|
||||
|
||||
## Development server
|
||||
To get started with the project, follow these steps:
|
||||
|
||||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
||||
1. **Clone the repository**:
|
||||
```bash
|
||||
git clone https://github.com/Worklenz/worklenz-v2.git
|
||||
```
|
||||
2. **Navigate to the project directory**:
|
||||
```bash
|
||||
cd worklenz-v2
|
||||
```
|
||||
3. **Install dependencies**:
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
4. **Start the development server**:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
5. Open [http://localhost:3000](http://localhost:3000) in your browser to view the application.
|
||||
|
||||
## Code scaffolding
|
||||
## Available Scripts
|
||||
|
||||
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
||||
In the project directory, you can run:
|
||||
|
||||
## Build
|
||||
### `npm run dev`
|
||||
|
||||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
Runs the app in the development mode.\
|
||||
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
|
||||
|
||||
## Running unit tests
|
||||
The page will reload if you make edits.\
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
### `npm run build`
|
||||
|
||||
## Running end-to-end tests
|
||||
Builds the app for production to the `dist` folder.\
|
||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
||||
|
||||
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
||||
The build is minified and the filenames include the hashes.\
|
||||
Your app is ready to be deployed!
|
||||
|
||||
## Further help
|
||||
### `npm run preview`
|
||||
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
||||
Serves the production build locally for testing.\
|
||||
Open [http://localhost:4173](http://localhost:4173) to preview the build.
|
||||
|
||||
## References
|
||||
- https://pro.ant.design/
|
||||
- https://ant.design/components/overview/
|
||||
- https://fontawesome.com/v5.15/icons?d=gallery&p=2&m=free
|
||||
- https://feathericons.com/
|
||||
## Project Structure
|
||||
|
||||
The project structure is organized as follows:
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome! If you'd like to contribute, please follow these steps:
|
||||
|
||||
1. Fork the repository.
|
||||
2. Create a new branch (`git checkout -b feature/YourFeatureName`).
|
||||
3. Commit your changes (`git commit -m 'Add some feature'`).
|
||||
4. Push to the branch (`git push origin feature/YourFeatureName`).
|
||||
5. Open a pull request.
|
||||
|
||||
## Learn More
|
||||
|
||||
To learn more about Vite, check out the [Vite documentation](https://vitejs.dev/guide/).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
|
||||
Reference in New Issue
Block a user