forecho / nuxt-mysql-sequelize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt-mysql-sequelize

CRUD application example using Nuxt JS 3, Sequelize, and MySQL.

I'm using bootstrap 5 cdn for basic styling

So you have to remove the bootstrap cdn link from main.css file and add your own css file or install library.

Update Database connection

You will find the connection details in config/config.json file. Then you have to run migration command.

npx sequelize-cli db:migrate

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

About

License:MIT License


Languages

Language:Vue 58.9%Language:JavaScript 39.4%Language:CSS 1.0%Language:TypeScript 0.7%