Gatsby Contentful starter for creating a portfolio website with a blog
The project is a simple website built for a local architect. It showcases the architect’s portfolio and includes a blog section. The website is built using Gatsby and makes use of various technologies such as GraphQL, Contenful, Cypress, and Styled Components. The project is open source and encourages users to give it a star if they find it helpful. The website can be locally installed and configured for development and deployment using Netlify.
To install and run the website locally, follow these steps:
Clone the repository: Use git to clone the repository to your local machine.
git clone [repository-url]
Install the packages: Navigate into the newly cloned site’s directory and install the required packages.
cd [project-directory]
npm install
Configure Contenful: Create a Contenful account, create a new space, and configure the project to use it. Add your spaceID and Content Delivery Token as environment variables to Netlify before deploying the project.
Start developing: Once the packages are installed and Contenful is configured, you are ready to start developing. Open the source code and start making edits.
code .
Test the application with Cypress: Use Cypress to test the application and ensure it functions correctly. Cypress is already set up as part of the project.
npm run test
Run the project locally: Your site is now running at http://localhost:8000. Feel free to make any changes and see them reflected in real-time.
Note: The setup script will write your spaceID and Content Delivery Token to a .env file for local development. Remember that .env files are not pushed to remote git repositories for security reasons. So, you’ll need to set the environment variables for Netlify to access Contenful. Your personal access token for the Content Management API is used to create the initial content types and is not saved.
This project is a simple website for a local architect, showcasing their portfolio and including a blog. It is built using Gatsby and incorporates technologies such as GraphQL, Contenful, Cypress, and Styled Components. The project can be installed locally and configured for development using Netlify. It also provides testing capabilities with Cypress. Overall, this project offers an efficient and modern solution for creating and managing a professional architect’s website.