A backend project to help manage my LPs and study marbleJS This project uses:
GET | /lps | returns the current LPs in the DB (mysql) |
GET | /for-sale | returns all the LPs that are for sale |
GET | /random | returns a random LP |
POST | /new | adds new LP to the DB |
---|
This project expects an .env file with the following content:
PORT=
DB_USERNAME=
DB_HOST=
DB_DATABASE=
DB_PASSWORD=
npm i
npm run dev
npm run build
npm run start