the-mmm-agency / muskoka-district-rentals

https://muskoka-district-rentals.netlify.com
MIT License
0 stars 0 forks source link

Muskoka District Rentals Maintainability Netlify Status

Muskoka District Rentals is a Progressive Web Application for renting properties in the Muskoka district of Canada.

Requirements

Muskoka District Rentals is built using the GatsbyJS framework, and uses Zeit Now for deployments.

The following components are required to run the project (tested on Arch Linux):

  1. NodeJS (version ~11.14.0). A javascript runtime built on Chrome's V8 JavaScript engine. (How to verify? Run node --version.). If you have a different version use nvm to install version 11.14.0.

Running Muskoka District Rentals

  1. Clone the GitHub repository: git clone git@github.com:the-mmm-agency/muskoka-district-rentals.
  2. Switch to the project directory: cd muskoka-district-rentals.
  3. Run npm install to install dependencies.
  4. Start Muskoka with npm start.
  5. Muskoka should now be running at http://localhost:8000.

Accessing the graphql api

Gatsby exposes the GraphQL playground at http://localhost:8000/___graphql. For more information refer to the GatsbyJS Docs.

Running with ssl

If you wish to run Muskoka with ssl enabled use npm run develop:ssl Gatsby takes care of generating the certificates.

Testing

To verify that everything is working properly you can run the project's tests.

Setup

Install the projects dependencies with npm install.

Unit Testing

Unit tests can be run with npm test.

Integration Testing

Other Scripts

Other npm scripts not mentioned above.