In this activity, you'll create an API for Snowtooth Mountain, a fake ski resort.
- In your Terminal or Command Prompt, Download or Clone this Repository:
git clone https://github.com/graphqlworkshop/snowtooth-api
- Change directory:
cd snowtooth-api
- Install dependencies:
npm install
- Start the Server:
npm start
- Open the browser to:
http://localhost:4000
- Install
flyctl
: https://github.com/superfly/flyctl#installation - Sign up for Fly: https://fly.io/app/sign-up
- Login from your CLI:
flyctl auth login
- Create fly app:
flyctl apps create --builder node
- Deploy:
flyctl deploy