The project is created using procedural PHP and uses https://www.thecocktaildb.com/api.php.
- In config.php file's
connect_db
function replace$servername
,$username
,$password
and$dbname
with the appropriate values. - The database is present in
cocktails.sql
file. You should run that file in your database or import it using DB managers like:phpmyadmin
,adminer
,heidisql
and others. - To install Tailwind run
npm install
command - To start Tailwind run
npx tailwindcss -i ./assets/style.css -o ./build/style.css --watch
. This will monitor the changes in the project and write the generated styles into thebuild/style.css
file.