bazaar
bazaar copied to clipboard
๐คน Build x-platform React apps bizarrely fast.
Bazaar
Have a look around. Maybe you see something you like?
Demo
https://web-build-jhmnnfnztq.now.sh
(Log in using the demo credentials provided.)
What & Why
Bazaar is an opinionated boilerplate for building apps quickly and easily. Here's what you get:
Backend
- Amplify (optional) โ for backend data and authentication
Frontend
- Expo / React Native โ for x-platform compilation (with web support)
- React โ Hooks API
- React Navigation โ for navigation
- React Spring โ for animation
- theme-ui โ for consistent, scalable styles
- @xstate/react โ state machine context hooks
Tools & Testing
- Yarn Workspaces โ for working with multiple Amplify lambdas
- Ava (optional) โ for testing lambdas/backend
- Jest โ for testing the front end
- Eslint โ for syntactical hints
- Prettier โ for structural consistency
Getting Started
-
yarn
- install dependencies -
yarn workspace frontend run start
- start up the app in development mode -
yarn workspace frontend add package
- add a package to the frontend -
yarn add package -W
- add a package to the root
Documentation
FAQ
Question: Why the name Bazaar?
Answer: I googled 'expo synonyms' and this was the only one I liked.
Question: Not Lerna + NPM?
Answer: Lerna uses Workspaces a bit, so I kinda like the idea of one package manager just handling everything.
Thanks & Inspiration
- Thanks to all the library authors for making such enjoyable tools.
- Additional thanks to Brent Jackson, author of theme-ui, styled-system, etc, for inspiration.