To install this application, clone the repo and download the node module packages. Run npm start to start the development server
git clone URL
npm install
npm start
To test the function run curl or use postman and use the following URL to access the function when running the development server
Use a POST request with a JSON body like this to convert temperature from celsius to farenheit:
{
"celsius": "6"
}
Use a POST request with a JSON body like this to convert temperature from farenheit to celsius:
{
"farenheit": "90"
}
- Add installation documentation to the README
- Update the
/api
folder with your function - Submit your theme at https://gatsbyjs.com/func-jam-21/
Read the Gatsby functions docs. Check out this video all about Gatsby functions Take a look at the Functions Use Cases over here.
- Vintage CSS styles from https://github.com/nostalgic-css