Skip to content

ronaksoft/nested-web-store

Repository files navigation

Nested

Build Status Dependency Status devDependency Status Code Climate GitHub issues GitHub license


Nested Mobile App This is mobile client for Nested application

TypeScript React Redux

Libraries

App uses the following libraries and tools:

Core

Utilities

Build System

Dev & Prod Server

Developer Experience

Testing

Directory Structure

.
├── build                       # Built, ready to serve app.
├── config                      # Root folder for configurations.
│   ├── test                    # Test configurations.
│   ├── types                   # Global type definitions, written by us.
│   ├── webpack                 # Webpack configurations.
│   └── main.ts                 # Generic App configurations.
├── node_modules                # Node Packages.
├── src                         # Source code.
│   ├── app                     # App folder.
│   │ ├── api                   # Nested api components.
│   │ ├── assets                # application icon and fonts
│   │ ├── components            # React Components.
│   │ ├── containers            # React/Redux Containers.
│   │ ├── redux                 # Redux related code aka data layer of the app.
│   │ │   ├── accounts          # Redux accounts module.
│   │ │   ├── app               # Redux app module.
│   │ │   ├── comments          # Redux comments module.
│   │ │   ├── places            # Redux places module.
│   │ │   ├── posts             # Redux posts module.
│   │ │   ├── IStore.ts         # Store interface.
│   │ │   ├── reducers.ts       # Main reducers file to combine them.
│   │ │   └── store.ts          # Redux store, contains global app state.
│   │ ├── scenes                # Main pages.
│   │ │   ├── private           # Pages for authenticated users.
│   │ │   └── public            # Pages for not logged in visitors.
│   │ ├── services              # Services for handling websockets and authentications. 
│   │ └── routes.tsx            # Routes.
│   ├── client.tsx              # Entry point for client side rendering.
│   └── server.tsx              # Entry point for server side rendering.
│   └── manigest.json           # Config file for browsers.
│   └── favicon.ico             # Favicon.
├── typings                     # Type definitions installed with typings.              
├── .dockerignore               # Tells docker which files to ignore.
├── .gitignore                  # Tells git which files to ignore.
├── .stylelintrc                # Configures stylelint.
├── Dockerfile                  # Dockerfile.
├── favicon.ico                 # Favicon.
├── package.json                # Package configuration.
├── README.md                   # This file
├── tsconfig.json               # TypeScript transpiler configuration.
├── tslint.json                 # Configures tslint.
└── typings.json                # Typings package configuration.

Installation

You can clone from this repository or install the latest version as a zip file or a tarball.

$ git clone http://git.ronaksoftware.com/nested/web-mobile-app
$ cd mobile-app
$ yarn install
$ npm install

Usage

All commands defaults to development environment. You can set NODE_ENV to production or use the shortcuts below.

# Running

$ npm start # This starts the app in development mode

# Starting it with the production build
$ NODE_ENV=production npm start # or
$ npm run start:prod

# Building 

$ npm build # This builds the app in development mode

# Commands below builds the production build
$ NODE_ENV=production npm build # or
$ npm run build:prod

# Testing
$ npm test

For Windows users, we recommend using the shortcuts instead of setting environment variables because they work a little different on Windows.

Notes

# If you want install additional libraries, you can also install their typings from DefinitelyTyped
$ typings install dt~<package> --global --save
# or if it's located on npm
$ typings install <package> --save

output documenations

$ npm doc

Credits

Vortigern is released under the MIT license.

The image in this README belongs to ronaksoft.com.


We help startups start and stay started by helping them plan, strategize, fund and execute their vision.

You can contact us at [email protected]

Be sure to check out available jobs at nested.