https://github.com/ahmed-roshdy-1/vartur-fullstack-project
https://github.com/ahmed-roshdy-1/vartur-fullstack-project
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmed-roshdy-1/vartur-fullstack-project
- Owner: Ahmed-Roshdy-1
- License: mit
- Created: 2024-09-13T17:16:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T07:53:39.000Z (over 1 year ago)
- Last Synced: 2025-03-02T03:16:45.892Z (over 1 year ago)
- Language: Vue
- Size: 3.61 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt 3 Minimal Starter
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
## Setup
open terminal and Clone the Repo
```bash
git clone https://github.com/Ahmed-Roshdy-1/vartur-fullstack-project.git
```
and navigate to project file
```bash
cd vartur-fullstack-project
```
create database and put the url link
add DATABASE_URL in deploy.sh file like
```bash
export DATABASE_URL = "mysql://USER:PASSWORD@HOST:PORT/DATABASE"
```
## to run Shell script to deploy and run website
```bash
./deploy.sh
```
# or
Make sure to install the dependencies
# npm
```bash
npm install
```
and inside project froder Create a .env File
add environment variable in .env file
```bash
DATABASE_URL = "mysql://USER:PASSWORD@HOST:PORT/DATABASE"
```
create database and put the url link like this
for exaple :
```bash
DATABASE_URL = "mysql://root:PassWord231@localhost:3306/DBName"
```
add run prisma migation to create the database schema
```bash
npm run migrate
```
and finaly run the project
```bash
npm run dev
```
### Demo Video
https://github.com/Ahmed-Roshdy-1/vartur-fullstack-project/raw/refs/heads/main/assets/demo.mp4
## Development Server
Start the development server on `http://localhost:3000`:
````bash
# npm
npm run dev
## Production
Build the application for production:
```bash
# npm
npm run build
````
Locally preview production build:
```bash
# npm
npm run preview
```