Look at the Nuxt 3 documentation to learn more.
open terminal and Clone the Repo
git clone https://github.com/Ahmed-Roshdy-1/vartur-fullstack-project.git
and navigate to project file
cd vartur-fullstack-project
create database and put the url link
add DATABASE_URL in deploy.sh file like
export DATABASE_URL = "mysql://USER:PASSWORD@HOST:PORT/DATABASE"
./deploy.sh
Make sure to install the dependencies
npm install
and inside project froder Create a .env File add environment variable in .env file
DATABASE_URL = "mysql://USER:PASSWORD@HOST:PORT/DATABASE"
create database and put the url link like this for exaple :
DATABASE_URL = "mysql://root:PassWord231@localhost:3306/DBName"
add run prisma migation to create the database schema
npm run migrate
and finaly run the project
npm run dev
https://github.com/Ahmed-Roshdy-1/vartur-fullstack-project/raw/refs/heads/main/assets/demo.mp4
Start the development server on http://localhost:3000
:
# npm
npm run dev
## Production
Build the application for production:
```bash
# npm
npm run build
Locally preview production build:
# npm
npm run preview