Graphql Express React Mongo Apollo Node
Built on top of these boilerplates: server, client
Quickstart
- Add env vars
echo "APP_ENV=development
NODE_ENV=development
DATABASE_URL=mongodb://mongo:27017/german
SECRET=goodboykent" >> server/.env.docker
echo "NODE_PATH=src/
SKIP_PREFLIGHT_CHECK=true" >> client/.env
- Start with Docker
docker-compose build
docker-compose up
Dockerless start
- Create local mongo db
mongod
mongo
use german
- Add env vars
echo "SECRET=goodboykent
DATABASE_URL=mongodb://localhost:27017/german" >> server/.env
echo "NODE_PATH=src/
SKIP_PREFLIGHT_CHECK=true" >> client/.env
-
Install ttab globally
npm install -g ttab
-
Install & start
sh setup.sh
sh dev.sh
Wishlist
- server-side rendering
- seo ish
- code splitting
- tests
- ci
- aws