Code Monkey home page Code Monkey logo

11ty-x-strapi's Introduction

Strapi x 11ty - A simple Blog site using 11ty, built with Strapi

This application helps you get started building a blog website with a few other pages. Feel free to fork, edit and customise it for your own use.

Screenshot

Features

  • Minimal design
  • Page Slugs
  • GraphQL first approach

Content Model

  • title : Text
  • content : Rich Text
  • published_at : Date
  • author : Text
  • slug : Text

In the works

  • Testing Pagination

Pages

  • A home page :/
  • An about me page :/about
  • A blog page :/blog
  • A blog post page :/blog/:Slug

Getting Started

To get started clone the repo

git clone https://github.com/malgamves/11ty-x-strapi.git
cd 11ty-x-strapi

The project has two folders frontend for your 11ty frontend and backend for your Strapi backend.

Frontend

The frontend is built with 11ty. This sets up your frontend.

cd frontend

yarn install

Then run yarn serve to start your frontend server.

Backend

The backend is built with Strapi. This sets up your backend.

cd backend

yarn install

Then run yarn develop to start your backend server.

Deployment

11ty

Run eleventy as your build command and serve the _site directory. This is possible in Static Hosting providers like Netlify and Vercel

For your backend, Strapi has numerous options in it's deployment guide.

Contributing

Feel free to send over a PR for any changes you think should be included.

11ty-x-strapi's People

Contributors

malgamves avatar dependabot[bot] 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.