Skip to content

This is a sample Vue 3 app using ExpressJs as backend to read data via REST from a sqlite database

Notifications You must be signed in to change notification settings

itsChris/vue3-express-rest-sqlite-table-sample

Repository files navigation

VUE 3, ExpressJS sample application to read data from a SQLite database using REST API

  • clone it
  • npm install to install dependencies
  • npm run backend to start the expressjs REST API
  • npm run dev to start the vue 3 frontend

seed data to database

basically seeding of the data is not needed since the employees.db already has 1000 records.
To seed the data you can use https://sqlitebrowser.org/ and employee.sql .. the employee.sql is coming from https://www.mockaroo.com/

fetch/read data from SQLite database using REST API and postman

do a GET request with URL: http://localhost:3333/employees

Postman

DataTable

Thanks to Tedir Ghazali -> https://github.com/tedirghazali/codetube/ for his work!

questions? don't hesitate to ask.

cheers,

Chris

About

This is a sample Vue 3 app using ExpressJs as backend to read data via REST from a sqlite database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages