Skip to content

Do you like jokes? So, let's tell you some to liven up Pepito's day

Notifications You must be signed in to change notification settings

ramirezmz/make-me-me-laugh-frontend

Repository files navigation

Make me laugh project

This project seeks to apply frontend knowledge intuitive and simple screens, nice transitions, reusable components, testing for components and best practices.

Ingredients

Frontend

  • Vue 3
  • Axios
  • Vue Router
  • Typescript
  • Vitest
  • ESLint + Prettier
  • Vueuse

Backend

  • Typescript
  • Express
  • Firebase
  • Docker
  • Cors
  • dotenv

Project structure

$PROJECT_ROOT
├── docker-compose.yml      # Entry point
├── .env                    # Environment file
├── ...                     # Configs files 
└── src
    ├── assets              # Css base to among project
    ├── components          # UI components
        ├── Component       # UI component
            ├── __test__    # Test folder about component
    ├── router              # Routes of the project
    └── services            # Handle with api joke
    └── views               # Project's screens
    └── App.vue             # Root component
    └── main.ts             # Entry point

How to run the project?

To run all project, we need to clone 2 repositories: frontend and backend.

git clone https://github.com/ramirezmz/make-me-me-laugh-frontend

Enter inside the project

cd make-me-me-laugh-frontend

Install dependencies

npm install

And then, we'll use docker-compose to up the application

docker-compose up

Others scripts

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint