/gigatron

https://gigatron.now.sh/signin

Primary LanguageTypeScriptMIT LicenseMIT

gigatron

ATTENTION: This repository is read-only, since it was only used during an internship process we had at Foton.

For more details about our stack, visit https://github.com/FotonTech/golden-stack.


Gigatron
Gigatron

The best boilerplate for your Monorepo Fullstack projects

PRs Welcome License MIT


Introduction

This boilerplate contains all you need to start your next monorepo Fullstack project.

Getting started

  1. Clone this repo using https://github.com/FotonTech/gigatron.git
  2. Move to the appropriate directory: cd gigatron.
  3. Run yarn to install dependencies.
  4. Creat .env file in ./packages/server with MONGOOSE=mongo_url

Commands

  • npm start - start the app, server and web.

Adding React Native Deps

  • If you add native dependencies that don't begin with react-native- add them to workspaces.nohoist in the root packages.json, with the globs below:
// example with foobar package
// foobar doesn't match `react-native-` so we need to add manually to nohoist
// react-native-foobar would be fine though!
    "workspaces": {
        "nohoist": [
            "**/foobar",
            "**/foobar/**",
        ]
    },

Linking

  • Since most of the app is built on /shared you may need to add a dependency with native code on /shared. If you do copy it over to /app and link it with react-native link your-dep-name-here

Next features:

  • Now serverless auto deployment: Better HMR support;

License

MIT license, Copyright (c) 2019 Foton.

Contributors

Thanks goes to these wonderful people (emoji key):

Jabur
Jabur

💬 🐛 💻 🎨 📖 💡 🤔 🚇 👀
Thom
Thom

💻 🤔 👀
paulogdm
paulogdm

💬 💻 🤔 🚇 📦 🔌 🛡️ 🔧

This project follows the all-contributors specification. Contributions of any kind welcome!