All Projects → beingtmk → nodejs-starter-kit

beingtmk / nodejs-starter-kit

Licence: MIT license
A Universal Javascript Starter Kit to satisify all you Web / App needs!

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Less
1899 projects

Projects that are alternatives of or similar to nodejs-starter-kit

react-native-appsync-s3
React Native app for image uploads to S3 and storing their records in Amazon DynamoDB using AWS Amplify and AppSync SDK
Stars: ✭ 18 (-21.74%)
Mutual labels:  expo
react-native-multi-selectbox
Platform independent (Android / iOS) Selectbox | Picker | Multi-select | Multi-picker. The idea is to bring out the common user interface & user experience on both platforms.
Stars: ✭ 169 (+634.78%)
Mutual labels:  expo
SocialApp-React-Native
Social Networking mobile app similar to Instagram in React Native.
Stars: ✭ 79 (+243.48%)
Mutual labels:  expo
react-native-expo-web
All-in-one React Native project (Expo + react-native-web)
Stars: ✭ 16 (-30.43%)
Mutual labels:  expo
maker
Maker is a advanced mobile ToDo app for Android and iOS
Stars: ✭ 35 (+52.17%)
Mutual labels:  expo
expo-ui-kit
expo-ui-kit - a components based React-Native UI Kit
Stars: ✭ 88 (+282.61%)
Mutual labels:  expo
react-native-walkthrough
React Native Walkthrough User Onboarding Flow to start your react native app development
Stars: ✭ 37 (+60.87%)
Mutual labels:  expo
Expo-Nitro-Roll
A cross-platform video game built with Expo and three.js!
Stars: ✭ 16 (-30.43%)
Mutual labels:  expo
smovie-expo
[New] New version with more examples: https://github.com/theo-mesnil/WhatToWatch [Old version] Smovie is the simplest and fastest way to discover movies, series and actors. With React Native, Expo and themoviedb 🎥
Stars: ✭ 19 (-17.39%)
Mutual labels:  expo
RN-Book-Search
A Book search app using Expo (React Native) and Google Books API
Stars: ✭ 29 (+26.09%)
Mutual labels:  expo
popcorn
Sample Montage application
Stars: ✭ 50 (+117.39%)
Mutual labels:  demo-application
app-intro-lottie-expo
App Intro component with Expo, styled-components and Lottie
Stars: ✭ 46 (+100%)
Mutual labels:  expo
react-native-news-app
Get breaking news headlines with short description filtered by your interests and country preferences
Stars: ✭ 75 (+226.09%)
Mutual labels:  expo
Expo-Super-Mario-World
Native Super Mario World in Expo
Stars: ✭ 24 (+4.35%)
Mutual labels:  expo
react-native-msal
MSAL for React Native
Stars: ✭ 62 (+169.57%)
Mutual labels:  expo
react-native-firebase-redux-authentication
Firebase Authentication using React Native, Redux, Router flux.
Stars: ✭ 45 (+95.65%)
Mutual labels:  expo
expo-doodle-jump
No description or website provided.
Stars: ✭ 44 (+91.3%)
Mutual labels:  expo
config-plugins
Out-of-tree Expo config plugins for packages that haven't adopted the config plugin system yet.
Stars: ✭ 180 (+682.61%)
Mutual labels:  expo
react-native-collapsible-segmented-view
A cross-platform Collapsible Segmented View component for React Native
Stars: ✭ 37 (+60.87%)
Mutual labels:  expo
status-bar-height
Listen to status bar changes during incoming calls and other multi-tasking events
Stars: ✭ 73 (+217.39%)
Mutual labels:  expo

Nodejs Starter Kit

Official Website

You can test the deployment demo application.

Description

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

Nodejs Starter Kit is built with Apollo, GraphQL, React, Angular, React Native, Expo, Knex.js, and Express with support for relational databases such as PostgreSQL, MySQL, and SQLite.

TypeScript is our language of choice and we use it across the entire project. However, you can freely mix vanilla JavaScript (the ES6 and ES7 syntax) and TypeScript when creating your modules.

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

Table of Contents

Overview

Why Use Nodejs Starter Kit

I am a Developer

  • Great productivity thanks to live reload and (partial) hot code reload
  • Fractal modular architecture that's easy to support and extend
  • The possibility to create modules in TypeScript and JavaScript at the same time
  • No need to develop typical features for your applications

I am a Project Manager

  • Your application will work faster thanks to GraphQL
  • Your team will be able to reuse the code for all the platforms
  • Your team can create client, server, and mobile JavaScript applications
  • Your application will be easier to support and evolve thanks to the fractal modular architecture
  • Your application will be based on a widely-used JavaScript ecosystem (it's easy to find JS developers)
  • Your team can develop new features straightaway instead of creating the basic features
  • Your application will be integrated with Stripe, one of the top payment processors

Concept

Developing client-server-mobile projects in JavaScript never was a trivial task. Not only do you have to spend time installing the application dependencies and configuring them, but you're also constrained to implement many basic functionalities over and over again. And you never have time to develop a starter codebase that you can reuse across all of your projects.

To relieve you from the burden of configuring the project, developing the application structure, and implementing typical features, we created Nodejs Starter Kit.

Nodejs Starter Kit provides you with a client-server-mobile application that you can employ as a foundation for developing new web or mobile projects using popular tools from the JavaScript ecosystem. But our starter kit does so much more than just creating a mix of popular JS technologies — it's powered by a few custom libraries and solutions to simplify managing project configurations, creating new modules, building GraphQL queries, and perform many other tasks.

The starter kit also consists of many modules that you can augment and adapt to develop your specific application. Also, you can use those prebuilt modules as a reference when implementing basic features for your applications even if you create them using other technologies.

Architecture and Implemented Modules

Among all the approaches to building the application architecture, we opt for the disposable fractal-based modular architecture. Thanks to it, it's possible to remove any built-in module from Nodejs Starter Kit without breaking the application. We recommend that you develop your custom modules with the same idea in mind when using our starter kit.

Nodejs Starter Kit comes with the following modules:

  • Authentication. Authentication via social networks (Facebook, GitHub, LinkedIn, and Google using OAuth) and password-based authentication; refreshing a forgotten password
  • Authorization. Permission-based authorization with various user roles
  • Contact Us Form. Functionality to send messages to the server
  • Internationalization. A complete internationalization solution for the client and server
  • Mobile Chat. A live chat based on the React Native Gifted Chat and powered by GraphQL subscriptions
  • Pagination. Navigation between pages and presentation of entities
  • Payments. Functionality for recurring payments based on Stripe
  • Posts and Comments. Functionality to add, delete, and update posts and comments
  • State Management. The application state stored in the database and on the client using different approaches
  • 404 Not Found Page. A minimalistic module for handling 404 requests

If you don't want to use the pre-built modules in your project, you can remove them using a dedicated CLI. For module names, see the names of directories under modules.

To learn more about the features and modules available in Nodejs Starter Kit, follow to the dedicated section Features and Modules.

Branches

Branch Description
master The kit version with the latest features. May not work consistently

First Run of Nodejs Starter Kit

Verify if you use Node.js 6.x or higher (Node.js ^10 is recommended) before running the starter kit.

  1. Clone the stable branch of Nodejs Starter Kit.
git clone -b master https://github.com/beingtmk/nodejs-starter-kit.git
cd nodejs-starter-kit

NOTE: If you're going to use Windows to develop with Nodejs Starter Kit, you need to additionally enable symlinks before you run the project.

For Windows 10:

  • Press Win + I to open Settings
  • Click Update & Security
  • Click the For Developers tab
  • In the Use developer features window, switch to Developer Mode

If you don't need the ready-made modules, you can also remove them using the [custom CLI].

  1. Install the dependencies. Make sure that you use Yarn 1.0.0 or higher.
yarn

You can use NPM instead of Yarn to handle the starter kit dependencies and to run scripts. Throughout the Apollo Universal Starter Kit documentation, we'll always use Yarn.

  1. Seed sample data to the database. The command below will create new tables with sample data in SQLite:
yarn seed

SQLite is a typical default relational database installed in most Linux distributions including Mac OS X; otherwise, consult SQLite installation guide.

  1. Run the starter kit in development mode:
yarn watch

The server application will be running on http://localhost:3000, while the client application will be running on http://localhost:8080. The terminal will tell your the exact ports.

For more information about running this starter kit for mobile development or Docker, consult the Getting Started guide.

Project Structure

The project structure presents generally accepted guidelines and patterns for building scalable web and mobile applications.

The structure is fractal meaning the available functionality is grouped primarily by feature rather than by file type. But the current structure isn't prescriptive, and you can change it however you like.

nodejs-starter-kit
├── config                      # Various application configurations
├── docs                        # Documentation
├── node_modules                # Global Node.js modules
├── modules                     # All the prebuilt project modules
├── packages                    # Available packages
│   ├── client                  # React client
│   ├── client-angular          # Angular client
│   ├── client-vue              # Vue client
│   ├── common                  # Common code
│   ├── mobile                  # React Native mobile client
│   ├── server                  # Node.js and Express server
│   └── server-scala            # Scala server
└── tools                       # All build and CLI-related files

Inside modules, you'll find all the prebuilt modules that Nodejs Starter Kit comes with. Each module under modules contains sub-directories with module implementations for different technologies. For example, if you look up the module modules/core, you'll see the following sub-modules:

nodejs-starter-kit
├── modules                       # Available packages
│   ├── core                      # The core module
│       ├── client-angular        # Core functionality for Angular app
│       ├── client-react          # Core functionality for React app
│       ├── client-react-native   # Core functionality for React Native app
│       ├── client-vue            # Core functionality for Vue app
│       ├── common                # React Native mobile client
│       ├── server-scala          # Core functionality for Scala server
│       └── server-ts             # Core functionality for Express server
└── tools                         # All build and CLI-related files

Nodejs Starter Kit Documentation

Follow to the documentation concerning different aspects of how to run, configure, and develop with Nodejs Starter Kit.

Tools

Modules

Support

Community Support

  • GitHub issues – submit issues and send feature requests
  • Wiki – read documentation for the usage scenarios of the starter kit; edit the documentation
  • FAQ – consult the Frequently Asked Questions section
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].