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.
The best boilerplate for your Monorepo Fullstack projects
This boilerplate contains all you need to start your next monorepo Fullstack project.
- Clone this repo using
https://github.com/FotonTech/gigatron.git
- Move to the appropriate directory:
cd gigatron
. - Run
yarn
to install dependencies. - Creat
.env
file in./packages/server
withMONGOOSE=mongo_url
npm start
- start the app, server and web.
- 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/**",
]
},
- 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 withreact-native link your-dep-name-here
- Now serverless auto deployment: Better HMR support;
MIT license, Copyright (c) 2019 Foton.
Thanks goes to these wonderful people (emoji key):
Jabur 💬 🐛 💻 🎨 📖 💡 🤔 🚇 👀 |
Thom 💻 🤔 👀 |
paulogdm 💬 💻 🤔 🚇 📦 🔌 🛡️ 🔧 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!