Skip to content

izhal27/wahyudi-project

Repository files navigation

Sample Project

Project sederhana ini dibuat untuk memenuhi permintaan bapak wahyudi

clone the project

install dependensi

$ npm install

run app with dev mode

$ npm run dev
server run at default port 3000

Bismillah happy coding.

set database config buat file .env dengan isian sebagai berikut

# Configurasi default mysql database
HOST=localhost
USERNAME=root
PASSWORD=my-secret-pw
DATABASE=
Config
const { Sequelize } = require("sequelize");

const sequelize = new Sequelize({
  host: process.env.HOST,
  dialect: "mysql",
  username: username,
  password: password,
  database: password,
  logging: false,
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published