GithubHelp home page GithubHelp logo

codeftw / future-web Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 17.0 739 KB

Starter kit to create PWA with cutting edge technologies

JavaScript 100.00%
meteorjs react apollo material material-ui flexbox meteor

future-web's Introduction

Future Web

CircleCI

Start kit repository using:

  • Meteor (build tool, backend/frontend setup)
  • GraphQL with Apollo (apollo server and apollo react client)
  • React (view)
  • Material-UI (UI component library)
  • Flexbox (css feature to organize HTML elements)

The goal is always to keep this repository up-to-date dependency-wise and with great organization. We can also extract common parts and publish npm and meteor packages, that way this repository can be cloned or forked to start new products with this stack. PRs welcome with ideas to new modules.

Maybe in the future we have a simple skeleton here that depends on external packages without any code to be deleted after cloned to create a new product. Right now we have sample and start kit code together.

To have a path to follow we choose to build a TODO App as a working sample /examples/todo, we know, there are a lot of them out there, it is just to practice and learn.

Packages

Who are we?

A group of people who believes that code can change people's lives for better. We are CodeFTW! Learn more and join us on Slack

How to Contribute with Ideas

Follow these steps:

  • Open an issue with what you think will be good to have
  • Mention any maintainer, @filipenevola, for instance
  • Discuss with the maintainer on the solution until you reach consensus
  • Let clear on the issue what is the result expected to consider this issue done

How to Contribute with Code

Follow these steps:

  • Open an issue with what you want to do and how you would do
  • Mention any maintainer, @filipenevola, for instance
  • Agree with the maintainer on the solution
  • Fork the repo
  • Be crystal clear that you will start to work on that
    • it is important to avoid two people doing the same thing at the same time
  • Start a Pull Request
    • watch how to do it in the first 15 minutes of this video
  • Send your code
    • don't forget to format your code before commit and have zero eslint erros/warnings
    • commit message should contains the issue id with #
    • upgrade your fork to capture changes in the main project, check how to do it here
  • Warn the maintainer that you are done
  • Wait for the merge
  • Start again :)

Useful Links

Study Stack

future-web's People

Contributors

dandv avatar denihs avatar filipenevola avatar jessecarlos avatar magonjr avatar semateos avatar tgmarinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

future-web's Issues

When I run the meteor npm instart I receive the error MongoError: $set is empty

Console error:

MongoError: '$set' is empty. You must specify a field like so: {$set: {: ...}}
W20180316-11:22:05.218(-4)? (STDERR) at Function.MongoError.create (/home/tgmarinho/.meteor/packages/npm-mongo/.2.2.34.6z9stb.xt86g++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/error.js:31:11)
W20180316-11:22:05.219(-4)? (STDERR) at toError (/home/tgmarinho/.meteor/packages/npm-mongo/.2.2.34.6z9stb.xt86g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/utils.js:139:22)

code where I have detected the error:
`Accounts.loginServiceConfiguration.upsert(
{
service: 'facebook',
},
{
$set: {
appId: Meteor.settings.public.FACEBOOK_APP_ID,

    secret: Meteor.settings.FACEBOOK_SECRET_KEY,
  },
}

);
});
`

Solution is execute $meteor --settings private/env/dev/settings.json for load the props every time...

There way for execute once time meteor --settings private/env/dev/settings.json and another times just meteor run ?

I think we need document it on the README.md

Add new methods to collections without using extends

Instead of extends Mongo.Collection is better to do with Object.assign

we don't need enhiritence to do that and with Object.assign WebStorm is auto completing correctly the methods.

const peopleCollection = new Mongo.Collection('people');

Object.assign(peopleCollection, {
   findByEmail() {
      .....
   }
});

export { peopleCollection as PeopleCollection };

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.