Express.js + Sequelize + MariaDB + Adminer
git clone https://github.com/aeatencio/api-101
cd api-101
docker-compose up
Wait for it to initialize (the first time it takes longer)
Take a look at them
docker-compose run --rm api node_modules/.bin/sequelize
Run your DB Migrations
docker-compose run --rm api node_modules/.bin/sequelize db:migrate
Seed your DB
docker-compose run --rm api node_modules/.bin/sequelize db:seed:all
Visit http://localhost:8082
http://localhost:8082/examples
Modify the contents of your api
folder and have fun!
Visit http://localhost:4042
ngrok will provide you a public url to share your API
Fork of https://github.com/aeatencio/mariadb-101
Visit http://localhost:8080
Use these credentials:
- Username:
root
- Password:
example
Visit http://localhost:4040
ngrok
will provide you a public url to share your Adminer
Type Ctrl-c
Wait for them to finish and then run
docker-compose down