This project is an Order Management System built with Vue.js and PrimeVue components. It allows users to manage orders, including creating, updating, and viewing order details.
- User Authentication
- Order Creation and Management
- Order Status Tracking
- Responsive Design
src/
├── assets/
├── components/
├── helpers/
├── locale/
├── modules/
│ ├── Auth/
│ └── Orders/
│ ├── OrderDetails.vue
│ ├── OrderForm.vue
│ ├── orders.route.js
│ ├── Orders.vue
│ └── WrapperOrders.vue
├── plugins/
├── router/
├── services/
├── store/
├── App.vue
├── main.ts
└── style.css
- Vue.js 3
- Vite
- PrimeVue
- Tailwind CSS
- Pinia
- Vue Router
- Axios
- Vuelidate
- Vue I18n
- Node.js (latest LTS version)
- npm or yarn
- PocketBase (for backend)
-
Clone the repository:
git clone https://github.com/Mhmd3ssam/Orders-Management.git cd Orders-Management
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add necessary environment variables. -
Run the development server:
npm run dev
-
Install and set up PocketBase
-
Create a new database with the following modules:
orders
with fields:product_name
quantity
price
status
(relation tostatus
module)
status
with options:- pending
- paid
- canceled
-
Use the following credentials for testing:
- Email: [email protected]
- Password: 1234567890
npm run dev
: Run the development servernpm run build
: Build for productionnpm run preview
: Preview production buildnpm run lint
: Lint and fix filesnpm run format
: Format files with Prettier
The frontend is deployed on Vercel. The backend is not yet hosted.
Contributions are welcome! Please feel free to submit a Pull Request.
For any questions or concerns, please contact:
- Email: [email protected]
This project is open source and available under the MIT License.