Skip to content

minajevs/divritenis.lv

Repository files navigation

Divritenis.lv frontend

Netlify Status Maintainability

This repository contains all the frontpage code for the new divritenis.lv website.

Demo: https://divritenis.netlify.app/

About

This is a fresh redesign and complete overhaul of "Latvian Cyclists' Union" website.

Frontend is a Jamstack application, built with Gatsby, React, Bulma and other cool modern web technologies and hosted on Netlify. Project builds on Gatsby Cloud.

Data is sourced from WordPress backend, which is used as a headless CMS.

Develop locally

To run this application locally:

  1. Clone this repo
  2. Create .env file using contents from .env-template
  • If you have Google reCAPTCHA key change GATSBY_RECAPTCHA_SITE_KEY value from template to the key, otherwise leave it as is
  • Change GATSBY_WP_URL value from template to WordPress URL of the backend. You can use staging url https://divritenis-staging.dexie.me
  1. Run npm install

Now you can run npm start as usual to run Gatsby dev server. Gatsby will automatically fetch WordPress data, build GraphQL typings for TypeScript and will run type-checks as you write code.

Contributors

This website is developed on a non-profit basis with a main goal of popularizing cycling in Latvia. People who contribute to this project: