viglioni / lps-backend

Project to manage my LPs (and study marbleJS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:GNU General Public License v3.0


Languages

Language:TypeScript 94.6%Language:JavaScript 3.4%Language:Shell 1.9%Language:Procfile 0.1%