Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olavea/go-go-gatsby-funcjam-21
go-go-gatsby-funcjam-21
https://github.com/olavea/go-go-gatsby-funcjam-21
Last synced: 24 days ago
JSON representation
go-go-gatsby-funcjam-21
- Host: GitHub
- URL: https://github.com/olavea/go-go-gatsby-funcjam-21
- Owner: olavea
- Created: 2021-08-25T07:55:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-27T12:02:55.000Z (over 3 years ago)
- Last Synced: 2024-10-28T12:14:39.694Z (2 months ago)
- Language: JavaScript
- Size: 588 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby's TimeShip
Ruby Reckless built a TimeShip fueled by gold. To save her sister Princess Lizabeth from prison in the Tower of London. You can build your own serverless Gatsby Function TimeShip.
1. **Start developing.**
To get started clone this repo locally and run `npm install` to add all necessary packages.
```shell
cd go-go-gatsby-funcjam-21
npm install
npm run develop
```2. **Open the code and start practicing!**
Your site is now running at http://localhost:8000! You can test the function at http://localhost:8000/api/time-ship?city=oslo&year=2026&price=333
Edit the serverless Gatsby Function TimeShip in `src/api/time-ship.js` and put your own name into the `src/pages/index.js`
3. **Deploy**
You can deploy this example on Gatsby Cloud by copying the example into a new repo and [connecting that to Gatsby Cloud](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/deploying-to-gatsby-cloud/#set-up-an-existing-gatsby-site).
## Submission Checklist
- [ ] Add installation documentation to the README
- [ ] Update the `/api` folder with your function
- [ ] Submit your function at https://gatsbyjs.com/func-jam-21/## Helpful Links
Read the Gatsby [functions docs](https://www.gatsbyjs.com/docs/reference/functions/).
Check out Queen Benedicte @raae 's video A [Piratical Introduction to Serverless Gatsby Functions](https://www.crowdcast.io/e/a-practical-introduction).