Giter Site home page Giter Site logo

pooh-by / react-universal-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonyspiro/react-universal-blog

0.0 0.0 0.0 10.86 MB

A universal blog app built using React, Express and Cosmic

Home Page: http://react-universal-blog.cosmicapp.co

JavaScript 82.39% HTML 2.00% CSS 15.46% Dockerfile 0.14%

react-universal-blog's Introduction

React Universal Blog

Sign up for Cosmic JS to start managing content for your websites and applications faster and easier.

About

The React Universal Blog is a portfolio blog app that renders html on the server to make all pages visible to search engines. Then after initial load from the server, it is converted to a single page application to allow for fast navigation between pages.

Notes

I tried to keep the organization as simple as possible. There are no client, server or shared component folders. All components are shared and the only difference between client and server are the entry points (app-client.js, app-server.js and app.js).

It uses the following:

  1. React for UI views
  2. Express for server side rendering
  3. React Router for routing
  4. React Hot Loader for hot loading in development
  5. Flux for data flow
  6. Cosmic JS for content management
Install
git clone https://github.com/tonyspiro/react-universal-blog
cd react-universal-blog
npm install
Run development
npm run development

Go to http://localhost:8080

Run production
npm start

Go to http://localhost:3000

Configure your Cosmic JS bucket

After setting up your bucket on Cosmic JS, edit the config.js file and edit the slug to point to the slug of your bucket:

// config.js
export default {
  bucket: {
    slug: 'react-universal-blog'
  }
}

react-universal-blog's People

Contributors

tonyspiro avatar njacques 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.