This is the code for the TrashTracer's backend stuff (Amazing api)
Pretty straightforward, you will need to have NPM installed and updated to the latest version and run the following command to install node dependencies
/TrashAPI $ npm i
You will need to set up your own mysql user and database, populate .env.example with your data and then import base.sql with the following command:
sudo mysql -u [username] -p [database_name] < base.sql
Follow the first command below for initial setup and second command to run the server in dev mode
/TrashAPI $ npm run dev