Giter Club home page Giter Club logo

pups's Introduction

pups

Create LOCAL - .env file and add "NODE_ENV=development"

Note: the docker is not properly set up.

To set up the development environment, you need to install the following dependencies:

  1. Node.js and npm:

    • You can download Node.js and npm from nodejs.org.
  2. Gatsby:

    • To install Gatsby, run the following command in your terminal:
      npm install -g gatsby
  3. JSON Server:

    • To install JSON Server, run the following command in your terminal:
      npm install -g json-server

After installing the dependencies, you can set up and run the application:

  1. Install project dependencies:

    • Run the following command in your project directory to install the required dependencies:
      npm install
  2. Start the Gatsby development server:

    • To start the Gatsby application, run the following command:
      gatsby develop
  3. Start the JSON Server for API:

    • To start the JSON Server for your API, use the following command:
      json-server --watch json-server/db.json --port 3001
    • This is important as this is the server that holds all the puppy data and adopter data
  4. Open the app on http://localhost:8000/

Some notes:

  1. The Puppy and Adopters data is saved in pups\app\json-server. This serves as the api server

Now, your development environment should be set up and both the Gatsby application and JSON Server should be running.

pups's People

Contributors

chjuruena avatar

Watchers

 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.