A simple products app with FaunaDB test data.
tinyhttp new asyncGo to FaunaDB dashboard, create a new database using test data.
Create an API key from dashboard and put it into .env file with DB_KEY=<variable> variable.
node index.js-
GET /products- get all products -
GET /product/:name- get a specific product by name -
POST /product- create a new product