https://github.com/thesmartcooking/front-end
Nuxt.js
https://github.com/thesmartcooking/front-end
nuxtjs
Last synced: over 1 year ago
JSON representation
Nuxt.js
- Host: GitHub
- URL: https://github.com/thesmartcooking/front-end
- Owner: TheSmartCooking
- License: mit
- Created: 2024-06-23T17:58:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T21:19:32.000Z (over 1 year ago)
- Last Synced: 2025-03-10T21:34:10.879Z (over 1 year ago)
- Topics: nuxtjs
- Language: Vue
- Homepage: https://thesmartcooking.github.io/Front-end/
- Size: 473 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx HTTP Web Server
This repository contains the frontend for SmartCooking.
## Getting Started
### Nuxt Minimal Development Server
- To develop the frontend locally, you'll need Nuxt.js installed. Follow the steps below to develop the frontend with Nuxt.js.
1. Install the dependencies:
```bash
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
```
2. Start the development server on `http://localhost:3000`:
```bash
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run dev
```
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
### Docker image and Container and hosting with Nginx
To set up the frontend locally, you'll need Docker installed. Follow the steps below to build and run the frontend in a container.
1. **Build the Docker Image**:
```bash
docker build -t smartcooking-nginx .
```
2. **Run the Docker Container**:
```bash
docker run -d --name Smart-Cooking_Frontend -p 8080:80 smartcooking-nginx
```
3. **Access the Site**:
Open your browser and access `http://localhost:8080/`.