/unsplash-demo

Unsplash demo project made overnight

Primary LanguageVue

Unsplash Demo

Description:

Unsplash demo application made overnight)

Technologies:

  • πŸš€ Frontend framework - Vue 3
  • πŸ’ͺ Primary language - Typescript
  • πŸ—± Build tool - Vite
  • 🚦 Routing - Vue Router
  • πŸ’‘ State management - Pinia
  • 🌠 Requests - Fetch API
  • 🩳 Styling - SCSS
  • 🌐 Cross-browser compatibility - Autoprefixer
  • 🌠 Icon solution - Remix Icons
  • πŸ“° Linting - Eslint
  • πŸ—³οΈ Formatting - Prettier
  • βš™οΈ Images - Unsplash API
  • πŸ“± Storage - Localstorage

[Back to top]

Installation:

  • npm install β€” установка ΠΏΠ°ΠΊΠ΅Ρ‚ΠΎΠ²;
  • npm run dev β€” компиляция ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°;
  • npm run build β€” сборка ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°;

[Back to top]

File structure:

unsplash-demo/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ logo.ico
β”‚   └── ...
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ icons/
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ router/
β”‚   β”‚   β”œβ”€β”€ index.ts
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ stores/
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ views/
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ App.vue
β”‚   └── main.ts
β”œβ”€β”€ .eslintrc.cjs
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .postcssrc.json
β”œβ”€β”€ .prettierrc.json
β”œβ”€β”€ env.d.ts
β”œβ”€β”€ index.html
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
β”œβ”€β”€ tsconfig.app.json
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ tsconfig.node.json
β”œβ”€β”€ tsconfig.vitest.json
β”œβ”€β”€ vite.config.ts
└── vitest.config.ts

[Back to top]

Website deployment:

TBU

[Back to top]

Available Scripts:

Development mode:

To start the development server:

npm run dev

The development server will run on port 3000 by default.

Build mode:

To build the project:

npm run build

Preview mode:

To preview the production build:

npm run preview

Lint and format:

To run ESLint for linting:

npm run lint

To format the source code with Prettier:

npm run format