Giter Site home page Giter Site logo

danieljsaldana / portfolio-vitest Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 26.96 MB

Explore the code for portfolio! This repository contains the Vue.js, Vuex, Sass, and TypeScript setup used to build his interactive and visually engaging portfolio. Clone the repo to kickstart your own portfolio development, and feel free to customize and share your work.

Home Page: https://wonderful-bush-0d50b8303.4.azurestaticapps.net

Dockerfile 0.30% Makefile 0.06% TypeScript 59.11% JavaScript 1.74% HTML 1.00% Vue 18.85% SCSS 18.94%
portfolio typescript vuejs sass netlify static-web-apps vercel

portfolio-vitest's Introduction

Airtec - Portfolio

Deployment Guide

For a step-by-step guide on deploying your code, check out this deployment guide.

Overview

This is the repository for Daniel J. Saldaña's portfolio, showcasing his work and projects. The portfolio is built using Vue.js, Vuex for state management, and Sass for styling. The development environment is set up with Vite for fast and efficient development, and TypeScript for type-checking.

Features

  • Vue.js 3: Utilizes the latest version of Vue.js for building interactive user interfaces.
  • Vuex 4: Manages state in the application to ensure a centralized and predictable state management.
  • Sass: Enhances the styling capabilities with the power of Sass for maintainable and modular styles.
  • Vite: The build tool for the project, ensuring fast and optimized development.
  • TypeScript: Adds static typing to the project, catching errors during development.
  • Vitest: Testing library for Vue.js applications, ensuring robust and reliable code.
  • Cypress: End-to-end testing tool for a comprehensive testing strategy.

Getting Started

  1. Clone the repository:
git clone https://dev.azure.com/danieljsaldana/labs-danieljsaldana/_git/portfolio-vitest
  1. Install dependencies:
npm install
  1. Run the development server:
npm run serve
  1. Open your browser and navigate to http://localhost:3000 to view the portfolio.

Scripts

Here are the available scripts for this project:

  • npm run serve: Starts the development server. Use this for local development.
  • npm run build: Builds the project for production. The optimized files will be in the dist/ directory.
  • npm run preview: Previews the production build. This is useful for testing the optimized build locally.
  • npm test: Runs tests using Vitest. Ensure your tests are in the tests/ directory.
  • npm run coverage: Generates test coverage using Vitest. The coverage report will be available in the coverage/ directory.
  • npm run cypress:open: Opens the Cypress test runner. Write end-to-end tests in the cypress/ directory.
  • npm run cypress:run: Runs Cypress tests in headless mode.

Folder Structure

The project follows a standard Vue.js project structure. Here's a brief overview:

  • src/: Contains the main source code of the project.
    • assets/: Images, fonts, and other static assets.
    • components/: Vue components used in the project.
    • views/: Top-level views or pages.
    • styles/: Stylesheets, including Sass files.
    • store/: Vuex store modules for state management.
    • main.ts: Main entry file for the application.
  • public/: Public assets and HTML files.

Feel free to explore and customize the folder structure to fit your project needs.

Customization

  1. Update Content: Replace the existing content in the Vue components and styles to reflect your portfolio information.

  2. Add Projects: Add your projects to the views/Projects.vue component.

  3. Modify Styles: Customize the styles in the styles/ folder to match your design preferences.

Testing

To run tests using Vitest, use the following script:

npm test

Deployment

To deploy the project, use the following script:

npm run build

This will generate a production-ready build in the dist/ directory.

License

This portfolio is licensed under the LGPL-3.0-or-later license. For more details, please see the LICENSE file.

Author

Daniel J. Saldaña | https://danieljsaldana.dev

Demo

Demo web

portfolio-vitest's People

Contributors

danieljsaldana avatar

Watchers

 avatar

Forkers

fossabot

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.