Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterj/shortly
URL shortener with React, Apollo and GraphQL
https://github.com/peterj/shortly
apollo apollo-client graphql reactjs
Last synced: 20 days 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T09:40:20.000Z (over 1 year ago)
- Last Synced: 2024-10-13T15:51:32.639Z (about 1 month ago)
- Topics: apollo, apollo-client, graphql, reactjs
- Language: JavaScript
- Homepage:
- Size: 1.53 MB
- Stars: 19
- Watchers: 3
- Forks: 9
- 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
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpeterj%2Fshortly.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpeterj%2Fshortly?ref=badge_large)