Skip to content

ajdurancr/ajdurancr.com

Repository files navigation

ajdurancr.com

This is a project built with React, Next.JS and Contentful.

Getting Started

In order to start this project it is necessary to go through the following steps:

1. Setting up content models in contentful

Comming soon...

2. Cloning project and installing dependencies

  • clone this project: git clone https://github.com/ajdurancr/ajdurancr.com.git
  • step into the project's folder: cd ajdurancr.com
  • install the project's dependencies: npm install

3. Setting up environment variables for contentful client

  • create a .env file (if running the project locally) and/or set the environment variables required to connect to contentful:
    • CONTENTFUL_SPACE: Contentful Space ID
    • CONTENTFUL_ACCESS_TOKEN: Contentful CDA Access Token

4. Running the project

In order to start the project run:

  • npm run dev for development mode
  • npm start for production mode