Skip to content

Starter for react & react native apps with graphql, node, mongodb

License

Notifications You must be signed in to change notification settings

Kacoze/react-apollo-node-mongodb-starter

Repository files navigation

react-apollo-node-mongodb-starter

This started is based on Apollo Universal Starter Kit. https://github.com/kacoze/react-apollo-node-mongodb-starter.git

It is still in progress, but base idea was to create something simillar, but simpler and with mongodb. In most cases you should look for Apollo Universal Starter Kit documentantion.

Description

This is an SEO-friendly, fully-configured, modular starter project for developing Universal JavaScript applications. You can use our kit to create your applications in JavaScript or TypeScript for all major platforms – mobile, web, and server.

This starter is built on top of Apollo, GraphQL, JWT, React 16, Redux, React Native, Expo, Mongodb, and Express. TypeScript is used across the entire project, but you can freely mix vanilla JavaScript (ES6 and ES7) and TypeScript.

The starter kit also integrates Twitter Bootstrap, Ant Design, Ant Design Mobile, Styled Components, and NativeBase to provide great possibilities for styling for your web and mobile applications.

How to run

Verify if you use Node.js 6.x or higher (Node.js 8.x is recommended) before running the starter kit in your development environment. You also need mongo installed on your machine.

Clone the current master of this starter.

git clone https://github.com/Kacoze/react-apollo-node-mongodb-starter.git

Install the dependencies. Make sure that you use Yarn 1.0.0 or higher; or you can use NPM instead of Yarn to handle the starter kit dependencies and to run scripts.

yarn

Run the starter kit in development mode:

yarn watch

For more information about running this starter kit for mobile development or Docker, consult the Apollo Universal Starter Kit Getting Started Wiki section.