Coder Social home page Coder Social logo

bricenda / talks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brianruizy/gatsby-medium-blog

0.0 0.0 0.0 36.26 MB

πŸ“ Gatsby.js starter blog template using a Medium theme; with features like Algolia Search, post claps, Prism highlighting, contact form, dark mode, +more.

Home Page: https://gatsby-medium.vercel.app

License: BSD Zero Clause License

Shell 0.07% JavaScript 81.40% TypeScript 0.93% CSS 17.60%

talks's Introduction

Gatsby.js Medium Blog

Cover Cover (1)

Don't forget to leave a star ⭐!

Features

  • πŸ“² PWA ready, installable on Android and iOS
  • πŸ”Ž Algolia Search, search by all attributes
  • πŸ“§ Getform.io contact form with easy setup.
  • πŸ“ Blog ready, easily add your blog posts with MDX
  • πŸŒ— Togglable dark mode
  • πŸ’» SEO ready, option to Add meta description

Getting Started

Before developing and working with the codebase on your IDE of choice, there are some services to set up to get the project running successfully.

1. Algolia Search

Algolia Search environment variables are required in the project's .env file.

You will need to provide some information that identifies your account to the Algolia plugin and authorizes it to write data to it. If you don’t already have an Algolia account, create one here. Then, go to the API Keys section of your Algolia profile.

There is already a file named .env.example in the project's root directory. You can rename this to .env and fill in the values or you can copy the contents of the file and paste them into your .env file as shown below.

GATSBY_ALGOLIA_APP_ID=<App ID>
GATSBY_ALGOLIA_SEARCH_KEY=<Search-Only API Key>
ALGOLIA_ADMIN_KEY=<Admin API Key>

2. GetForm

contact form is super easy to set up with getform.io. Simply add your API / endpoint URL to the action attribute of your form and you're good to go. See https://app.getform.io/forms for documentation. The location for this component is src/components/ContactDrawer.js.

  <form
    action="https://getform.io/f/faf8d119-4334-4fcc-ae56-2dc4de9cb453"
    method="POST"
  >
  ...
  </form>

Run the project

Not you must have already installed Node.JS and Gatsby CLI. See Gatsby's Development Environment Setup documentation for more details or if you have issues with the CLI installation.

nvm install 18
nvm use 18

npm install -g gatsby-cli
  1. Install project dependencies npm install. If having problems installing try with legacy peer dependencies, npm install --legacy-peer-deps.

  2. Start Developing. Navigate into your new site’s directory and start up the local server gatsby develop πŸŽ‰.

See the reference guide to read more on other commands you can use with the Gatsby CLI.

Adding your blog posts

Adding your own content is super simple with the Jamstack design of the project. You won't need to write any HTML or CSS, just markdown (although you absolutely can if you wish to change the design or add your own features). The MDX posts are found in the content/posts/ directory. With MDX you can even add react components to your posts as found below.

Visit mdxjs.com to see what other cool things you can implement.

## Example header here

lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, quidem quisquam.

<Alert severity="info">
  Visit <a href="https://python.org">here</a> for docs and examples.
</Alert>

image

talks's People

Contributors

brianruizy 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.