Welcome to JACKETID, your ultimate destination for a wide variety of jackets, coats, blazers, and similar outerwear from various top brands. Our platform offers a seamless shopping experience, ensuring you find the perfect outerwear to suit your style and needs.
This project was generated with Angular CLI version 17.3.7.
click here to see demo
JACKETID is an e-commerce application dedicated to providing an extensive collection of jackets, blazers, and related outerwear from numerous reputable brands. Whether you're looking for a casual jacket, a formal blazer, or a warm winter coat, JACKETID has you covered. Our goal is to offer a diverse range of styles, sizes, and colors to cater to every customer’s preferences.
To get started with the JACKETID, follow these steps:
- Clone the repository: git clone https://github.com/Juaini742/jacket-shop-angular.git
- Install dependencies:
cd frontend
npm install
cd backend
npm install
- Run database migrations and seeders (backend):
npx prisma migrate dev --name init
- Run the server:
npm start
- Run the client:
npm start
front-end/
src/
├── app/
│ ├── component/
│ ├── environments/
│ ├── guards/
│ ├── layouts/
│ ├── modules/
│ ├── pipes/
│ ├── services/
├── assets/
│ ├── images/
└── interfaces/
This directory contains all the Angular components needed for the application. Each component should have its own folder containing the .ts
, .html
, and .scss
(or .css
) files.
This directory holds environment configuration files (environment.ts
and environment.prod.ts
) that are used to manage different settings for development and production environments.
This directory contains the authentication guard files. These guards are used to protect routes from unauthorized access and ensure that only authenticated users can access certain parts of the application.
This directory includes layout components such as the navbar and footer, which are shared across multiple pages of the application.
This directory is for organizing the application into feature modules. Each feature module can encapsulate related components, services, and other code.
This directory contains custom pipes that transform data in the template. Pipes are used for formatting and transforming data before displaying it in the view.
This directory includes all service files. Services are used for handling business logic, data retrieval, and communication with backend APIs.
This directory holds all image assets used in the application. It includes logos, icons, and other image files.
This directory contains all TypeScript interfaces used for type definitions throughout the application. Interfaces help in ensuring type safety and consistency.
src/index.html
: The main HTML file that loads the Angular application.src/main.ts
: The main entry point for the Angular application.src/styles.scss
: The global styles file for the application.angular.json
: The configuration file for Angular CLI.package.json
: The npm configuration file containing project dependencies and scripts.README.md
: The main README file containing information about the project.
backend/
├── prisma/
│ ├── migrations/
│ │ └── ... # Migration files
│ ├── schema.prisma # Prisma Schema
├── src/
│ ├── controller/
│ │ └── ... # Controller files
│ ├── middleware/
│ │ └── ... # Middleware files
│ ├── router/
│ │ └── ... # Route files
│ ├── utilities/
│ │ └── ... # Utility files
│ ├── index.ts # Main server file
│ └── seed.ts # Seed data script
├── package.json # Package file
├── tsconfig.json # TypeScript configuration
└── ... # Other root-level files (e.g., README.md, .env)
This directory contains all the Prisma ORM related files, including migration files and seed data.
prisma/migrations/
: Stores migration files that define the changes to the database schema.prisma/schema.prisma
: Script for Schema.
This is the main source directory for the backend application.
src/controller/
: Contains all the controller files. Controllers handle the incoming HTTP requests and return responses.src/middleware/
: Contains middleware files. Middleware functions are used to handle request processing before reaching the route handler.src/router/
: Contains all the route files. Routes define the endpoints of the application and map them to controller actions.src/utilities/
: Contains custom utility functions that are used throughout the application.src/index.ts
: The main server file that initializes the Express application and starts the server.src/seed.ts
: Script for seeding the database with initial data, separate from the Prisma seed script.
package.json
: The npm configuration file containing project dependencies and scripts.tsconfig.json
: The TypeScript configuration file that specifies the compiler options for the project..env
: Environment configuration file for setting environment variables.README.md
: The main README file containing information about the project.
We welcome contributions from the community! If you find any issues or have suggestions for improvements, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
If you have any questions or feedback, please contact us at [email protected].