https://github.com/peterj/shortly
URL shortener with React, Apollo and GraphQL
https://github.com/peterj/shortly
apollo apollo-client graphql reactjs
Last synced: 12 months ago
JSON representation
URL shortener with React, Apollo and GraphQL
- Host: GitHub
- URL: https://github.com/peterj/shortly
- Owner: peterj
- License: mit
- Created: 2017-12-28T23:56:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T09:40:20.000Z (almost 3 years ago)
- Last Synced: 2025-03-18T09:37:40.544Z (about 1 year ago)
- Topics: apollo, apollo-client, graphql, reactjs
- Language: JavaScript
- Homepage:
- Size: 1.53 MB
- Stars: 19
- Watchers: 2
- Forks: 8
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Shortly
Simple URL shortener built with React, Apollo and GraphQL. You can find the
corresponding tutorials
[here](https://medium.com/@pjausovec/building-url-shortener-using-react-apollo-and-graphql-part-i-467aef8c64ce)
### Set up Graphcool
This project uses a Graphcool service. Visit [Graphcool](http://graph.cool) to
sign-up and get a free account. To get started, install the Graphcool CLI first,
login and then deploy the Graphcool service:
```
cd graphcool
# Login to graphcool
graphcool login
# Deploy the graphcool service
graphcool deploy
# Get the API URLs
graphcool info
```
Next, paste the Simple and Subscriptions API URLs to index.js.
### Run the project
After you've set up Graphcool and pasted the Simple and Subscriptions API URLs
to index.js, you can run `yarn start` to start the website.
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fpeterj%2Fshortly?ref=badge_large)