A sample web and mobile application built with Node, Express, React, React Native, Redux and GraphQL. Allows users to get monthly subscription of tren
A sample web and mobile application built with Node, Express, React, React Native, Redux and GraphQL. Allows users to get monthly subscription of tren
Upgraded version is now available!
An upgraded and more modern version with full-stack monorepo, featuring an event-driven, highly scalable architecture using Node.js, React, Redis, MongoDB, and Docker is now available, check out github.com/atulmy/fullstack-event-driven-architecture
Click on image to view fullscreen and zoom
code
├── package.json
│
├── api (api.example.com)
│ ├── public
│ ├── src
│ │ ├── config
│ │ ├── migrations
│ │ ├── modules
│ │ ├── seeders
│ │ ├── setup
│ │ └── index.js
│ │
│ └── package.json
│
├── mobile (Android, iOS)
│ ├── assets
│ ├── src
│ │ ├── modules
│ │ ├── setup
│ │ ├── ui
│ │ └── index.js
│ │
│ └── package.json
│
├── web (example.com)
│ ├── public
│ ├── src
│ │ ├── modules
│ │ ├── setup
│ │ ├── ui
│ │ └── index.js
│ ├── storybook
│ │
│ └── package.json
│
├── .gitignore
└── README.mdgit clone [email protected]:atulmy/crate.git cratecode directory cd code/api/src/config/database.json for database credentials/api/.env for PORT (optional)/web/.env for PORT / API URL (optional)/mobile/src/setup/config.json for API URL (tip: use ifconfig to get your local IP address)cd api and npm run setupcd web and npm installcd mobile and npm installcd mobile/ios pod installcd api and npm start, browse GraphiQL at http://localhost:8000/cd web and npm start, browse webapp at http://localhost:3000/cd mobile and npx react-native run-ios for iOS and npx react-native run-android for Androidcd api and npm run start:prod, creates an optimized build in build directory and runs the servercd web and npm run start:prod, creates an optimized build in build directory and runs the servercode directory cd codenpm run setupnpm start, browse GraphiQL at http://localhost:8000/ and Webapp at http://localhost:8000/npm start:api, browse GraphiQL at http://localhost:8000/npm start:web, browse webapp at http://localhost:3000/Copyright (c) 2018 Atul Yadav http://github.com/atulmy
The MIT License (http://www.opensource.org/licenses/mit-license.php)
No open issues yet, or sync has not completed.