Git Product home page Git Product logo

pet-library's Introduction

cat dog rabbit

Pet Library API

Overview

The Pet Library is a real pet library checkout system for a fake pet library. The purpose of the Pet Library is to teach developers how to work with the GraphQL Query Language and how to send queries, mutations, and subscriptions to this API.

Installation

1. Clone or download this repository.

git clone https://github.com/moonhighway/pet-library.git
cd pet-library

2. Install the dependencies.

npm install

Or use yarn:

yarn

3. Set up Mongo locally.

This project will use Mongo as a database. If you aren't a user of Mongo already, you can install Mongo locally, or use mLab, a cloud-based version of Mongo, for this app.

For further installation instructions, check out these resources:

4. Add a .env file to the root of your project.

You will need to add variables for MONGODB_URI and SECRET.

  • MONGODB_URI is the route where your installation of Mongo is running. This usually runs at mongodb://localhost:27017/pet-library.
  • SECRET is just a text string (can be anything) so that the user auth works as expected:
MONGODB_URI=<YOUR_MONGO_URI_HERE>
SECRET=<YOUR_AUTH_SECRET_HERE>

Starting the Project - Dev Mode

Run the following command: npm run dev.

This project was created by Alex Banks and Eve Porcello from Moon Highway.

pet-library's People

Contributors

eveporcello avatar moontahoe avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.