Skip to content

leandrolerena/w3schools-database

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W3Schools Database in Docker

Forked from https://github.com/AndrejPHP/w3schools-database for academic purposes.

This repository provides:

  • a docker compose which sets up the DB on port 3309 (non-default, no clashes)
  • initializes the database data from w3schools (provided by @AndrejPHP)
  • Visual Studio Code config

Setup

  • Setup is as easy as:
docker compose up -d
  • Data is stored in the data directory

Tables

When the docker container starts, it creates database named w3schools with the following tables

categories
customers
employees
orders
order_details
products
shippers
suppliers

and inserts the respective data.

How to reset?

Execute:

docker compose down
rm -rf data
docker compose up -d

About

W3Schools Database for the SQL Tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 97.9%
  • Dockerfile 2.1%