GithubHelp home page GithubHelp logo

gridsome-strapi-portfolio's Introduction

Gridsome Strapi Portfolio Test

Gridsome starter for creating a corporate site with Strapi.

View the live demoWatch the video tutorialRead the blog post

screen

This starter allows you to easily create a website to showcase your work. It also makes it easy to keep it up to date thanks to Strapi.

It relies on several Strapi features:

  • Collection types for projects and categories
  • Single types for the homepage, the about page and the global config
  • Components for reusable UI components and SEO metadata
  • Dynamic zones to have full control over your content

On the frontend, we're using Gridsome, a Vue.js framework for static sites. It uses GraphQL to query data and Tailwind CSS for styles.

Getting started

The easiest way to try this starter is to run it locally on your computer.

First, you'll need to create your own copy of this starter. You can do so by clicking the "Use this template" button on GitHub, and filling the form.

Backend

Create a Strapi project named backend using the portfolio template:

# Using Yarn
yarn create strapi-app backend --template https://github.com/strapi/strapi-template-portfolio

# Or using NPM
npx create-strapi-app backend --template https://github.com/strapi/strapi-template-portfolio

The Strapi server will automatically start and import sample seed data.

Frontend

Leave the Strapi backend running in the background. Open another terminal tab, and make sure you're in the frontend directory:

cd frontend

Install dependencies and start the Gridsome server:

# Using yarn
yarn install
yarn develop

# Using npm
npm install
npm run develop

The Gridsome server will run here => http://localhost:8080

Deploying to production

You will need to deploy the frontend and backend projects separately. Here are the docs to deploy each one:

Don't forget to set up your environment variables on your production apps.

Have fun using this starter!

gridsome-strapi-portfolio's People

Contributors

chris74er avatar

Watchers

James Cloos avatar  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.