set up sqlite

This commit is contained in:
Takeshi Kimata
2024-02-04 18:38:48 +09:00
parent cdaa99b89a
commit 45f64df1f9
12 changed files with 4227 additions and 112 deletions

View File

@@ -4,7 +4,7 @@
- Node.js
- Express
- MySQL
- SQLite
## Install dependencies
@@ -12,8 +12,28 @@
npm install
```
## Set up database
```bash
npm run migrate
```
## Run the development server
```bash
node dev
npm run start
```
## Database operation command
### drop table
```bash
npm run drop
```
### add seed data
```bash
npm run seed
```