Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdrani/bookcms-api
apollo graphql server for bookcms react app
https://github.com/cdrani/bookcms-api
apollo-server graphql herokuapp server
Last synced: 6 days ago
JSON representation
apollo graphql server for bookcms react app
- Host: GitHub
- URL: https://github.com/cdrani/bookcms-api
- Owner: cdrani
- Created: 2018-12-11T23:54:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T20:20:54.000Z (almost 6 years ago)
- Last Synced: 2024-12-11T15:50:20.372Z (2 months ago)
- Topics: apollo-server, graphql, herokuapp, server
- Language: JavaScript
- Homepage: https://bookcms-api.herokuapp.com/graphql
- Size: 197 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BookCMS API
Live: [bookcms-api](https://bookcms-api.herokuapp.com)
Users can sign up/in/out, add, delete, view, and edit books from the library
as well as keep track of their current progress of through their books.All of the above can be performed independent of the [frontend ui](https://github.com/cdrani/book-cms).
## Getting Started
These instructions will get you a copy of the project up and running on your
local machine for development and testing purposes using the MERN stack with
Express and MongoDB.* Apollo Server and Node.js as the backend server
* Heroku as database provider via SequelizeJs postgres dialect### Prerequisites
This project runs on node and uses yarn.
### Installing
* Clone the repo
* cd into the folder
* Run `yarn`### Serve Project
Run the servers with the following command:
```
yarn start
```Once its running, visit `http://localhost:8000` to interact with the api.
### Deploy on Heroku
You can deploy the project on [Heroku](https://www.heroku.com/) using the following steps:
1. Create a Heroku Account
2. On the terminal, run `heroku create` to create a new app
3. Run `git push heroku master` to start a deployment on Heroku.
4. Visit your project URL as assigned by Heroku (`heroku open`) to see a live deployment of the app.