Internet Leffa Tietokanta.
A practice application for db course.
You should use the database you created on the last lesson, as long as you are happy with it. If you decide to do so, you can skip this section.
If you don't have your own database or are not happy with it, my own version is located in docs/movies.sql
- In shell,
cdto the project directory (the same where this README is located) dropdb moviescreatedb moviespsql movies < docs/movies.sql
npm icp .env.example .env- open and edit
.envfile as necessary npm run kysely-codegennpm run dev- open http://localhost:10000/ in your browser and assert that you get some frightening database meta information to your screen.