Skip to content

abdounikarim/poc-nuxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hello from Nuxt!๐Ÿ‘‹

The "Hello from Nuxt!๐Ÿ‘‹" application is just a starter to show a minimalist Nuxt app.

Requirements

Installation

Clone this repository:

https://github.com/abdounikarim/poc-nuxt

Go on the project root folder:

cd poc-nuxt/

Execute this command to launch docker container in dev:

docker compose -f docker/compose.yaml up -d --build

Install JavaScript dependencies:

docker compose -f docker/compose.yaml exec node pnpm install

Usage

There's no need to configure anything before running the application. There are 2 different ways of running this application depending on your needs:

Option 1. Run the application in dev mode

Start the application using the nuxt server:

docker compose -f docker/compose.yaml exec node pnpm run dev

Then access the application in your browser at the given URL (http://localhost:8000 by default).

Option 2. Run the application in prod mode

docker compose -f docker/compose.yaml exec node pnpm run build

You now have your fresh JavaScript files for production ๐Ÿš€. You can check everything is OK by opening the http://localhost:8000/dist/index.html link and navigate on your application.

Tests

Install Cypress dependencies:

docker compose -f docker/compose.yaml exec node pnpm cypress install

Execute this command to run tests:

docker compose -f docker/compose.yaml exec node pnpm cypress run

About

Hello from Nuxt!๐Ÿ‘‹ application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published