Git Product home page Git Product logo

jacket-shop-angular's Introduction

JACKETID

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.

Demo

click here to see demo

Juaini

Overview

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.


Getting Started And Installation

To get started with the JACKETID, follow these steps:

  1. Clone the repository: git clone https://github.com/Juaini742/jacket-shop-angular.git
  2. Install dependencies:
cd frontend
npm install
cd backend
npm install
  1. Run database migrations and seeders (backend):
npx prisma migrate dev --name init
  1. Run the server:
npm start
  1. Run the client:
npm start

Folder Structure Front-End (React Native)

front-end/
src/
├── app/
│   ├── component/
│   ├── environments/
│   ├── guards/
│   ├── layouts/
│   ├── modules/
│   ├── pipes/
│   ├── services/
├── assets/
│   ├── images/
└── interfaces/

Directory Descriptions

src/app/component

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.

src/app/environments

This directory holds environment configuration files (environment.ts and environment.prod.ts) that are used to manage different settings for development and production environments.

src/app/guards

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.

src/app/layouts

This directory includes layout components such as the navbar and footer, which are shared across multiple pages of the application.

src/app/modules

This directory is for organizing the application into feature modules. Each feature module can encapsulate related components, services, and other code.

src/app/pipes

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.

src/app/services

This directory includes all service files. Services are used for handling business logic, data retrieval, and communication with backend APIs.

src/assets/images

This directory holds all image assets used in the application. It includes logos, icons, and other image files.

src/interfaces

This directory contains all TypeScript interfaces used for type definitions throughout the application. Interfaces help in ensuring type safety and consistency.

Additional Files

  • 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.

Folder Structure Back-End (ExpressJs)

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)

Directory Descriptions

prisma/

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.

src/

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.

Root-Level Files

  • 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.

Contributing

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.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.

Contact

If you have any questions or feedback, please contact us at [email protected].


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.