Skip to content

viglioni/lps-backend

Repository files navigation

LPs backend

about

A backend project to help manage my LPs and study marbleJS This project uses:

endpoints

GET/lpsreturns the current LPs in the DB (mysql)
GET/for-salereturns all the LPs that are for sale
GET/randomreturns a random LP
POST/newadds new LP to the DB

Obs.:

This project expects an .env file with the following content:

PORT=

DB_USERNAME=
DB_HOST=
DB_DATABASE=
DB_PASSWORD=

Install

npm i

Run

Dev mode

npm run dev

Prod mode

npm run build
npm run start

About

Project to manage my LPs (and study marbleJS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published