Coder Social home page Coder Social logo

loom's Introduction

Loom Blog Logo

Loom Blog

Blog for NextJS and Sanity CMS

Issues Twitter

Report Bug - Request Feature

Index

Table of Contents
  1. About Loom
  2. Getting Started
  3. Schemas
  4. Contributing
  5. License
  6. Contact
  7. Support the Project

About Loom

An easy to set up blog built in NextJS and integrated with Sanity CMS.

Check it out: loom vercel

Loom Project Image Loom Project Image 2 Loom Project Image 3 Loom Project Image 4


Built With

Getting Started

Ensure you create a file called '.env.local' in the root folder. Populate these values in it from your sanity and hcaptcha accounts.

NEXT_PUBLIC_SANITY_DATASET=production
NEXT_PUBLIC_SANITY_PROJECT_ID=
SANITY_API_TOKEN=
NEXT_PUBLIC_HCAPTCHA_SITE_KEY=
HCAPTCHA_SECRET_KEY=
HCAPTCHA_VERIFY_URL="https://hcaptcha.com/siteverify"
NEXT_PUBLIC_TEST_HCAPTCHA_SITE_KEY=10000000-ffff-ffff-ffff-000000000001
TEST_HCAPTCHA_SECRET_KEY=0x0000000000000000000000000000000000000000

For santiy studio, add a santiy.json file to the root of your loom-santiy folder:

{
  "root": true,
  "project": {
    "name": "loom-sanity"
  },
  "api": {
    "projectId": "ENTER-SANTIY-PROJECT-ID-HERE",
    "dataset": "production"
  },
  "plugins": [
    "@sanity/base",
    "@sanity/default-layout",
    "@sanity/default-login",
    "@sanity/desk-tool"
  ],
  "env": {
    "development": {
      "plugins": [
        "@sanity/vision"
      ]
    }
  },
  "parts": [
    {
      "name": "part:@sanity/base/schema",
      "path": "./schemas/schema"
    }
  ]
}

Installation

Get started on your own machine.

  1. Clone the repo
    git clone https://github.com/jotcodeofficial/loom.git
  2. Install the NPM packages
    npm install
  3. Build the project
    npm run dev
  4. View it on your browser
    localhost:3000
    

Schemas

Sanity schema for the posts can be found in the loom-sanity/schemas folder.

Contributing

Great things are a sum of their parts. By contributing your time and effort you can help make this project even better. Collaborative efforts ftw. Check out the issues to see potential items you can contribute on.

License

Here is where you can provide the license you are using. Released under the MIT License.

Contact

@jotc0de

[email protected]

Support the Project ๐Ÿ’–

If you are not a coder you can still help support the project by sharing it far and wide. Thanks! โค๏ธ

loom's People

Contributors

jotcodeofficial avatar

Stargazers

Ryan Gosden avatar

Watchers

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