GithubHelp home page GithubHelp logo

clemdelp / react-redux-meteor-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 20.99 MB

Boilerplate for rapid prototyping target with the best frontend technologies

JavaScript 75.31% CSS 3.30% HTML 5.38% Shell 16.01%

react-redux-meteor-boilerplate's Introduction

Meteor react-redux ready to use

For rapid prototyping with a complete react-redux environment

alt tag

WHAT INSIDE

Tech:

  • backend: Meteor + Express
  • frontend: React + Redux
  • templating: Material-ui + Flexibox

HOW TO USE IT

Get the boilerplate

Depending on how you want to use the boilerplate:

  • fork
  • or git clone
  • or Download ZIP

Dependency

This boilerplate need meteor installed on your device: Install meteor

Install

cd project-folder

If you don't want install the demo files please remove the "demo" folder before:

rm -rf demo

Then/or

sh install.sh

Then remove .meteor from gitignore

Launch the server

By default install.sh will lunch the server, in other case simply type:

meteor

Then in browser:

http://localhost:3000

DEPLOY ON HEROKU

To deploy your app on heroku:

  • first you need an heroku account
  • you need heroku CLI install on your device
  • heroku will ask you to enter a credit card to install mongolab addon (don't worry it's free plan so they wont charge you) git push heroku master
  • remove .meteor from gitignore
  • if you don't have a .git:
git init
git add .
git commit -m 'first commit'
  • only after:
sh heroku_init.sh

git push heroku master

DEMO

Sub folder here

  • rest-api demo with express
  • web socket with streamy
  • pure react component
  • sagas interaction
  • database interaction
  • ...

Reminder, to remove all the demo files:

cd project-folder
rm -rf demo

Then restart the server

Launch the database

Meteor use Mongo as DB Open a new terminal with your server running In this boilerplate by default a 'log' collection is created

meteor mongo
db.log.find()

With Robomongo create a new connection

alt tag

then

alt tag

Special directories

ref: https://guide.meteor.com/structure.html

imports

Any directory named imports/ is not loaded anywhere and files must be imported using import (import '../import/your_file.name')

public

All files inside a top-level directory called public/ are served as-is to the client. When referencing these assets, do not include public/ in the URL, write the URL as if they were all in the top level. For example, reference public/bg.png as . This is the best place for favicon.ico, robots.txt, and similar files.

THEN

(••)...( ••)>⌐■-■...(⌐■_■) be cool...

react-redux-meteor-boilerplate's People

Contributors

clemdelp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.