GithubHelp home page GithubHelp logo

pwa-christmas's Introduction

PWA Christmas

Overview

  • Easiest way to run a node server: Sensible defaults & includes everything you need with minimal setup.

pwa-christmas is based on the following libraries & tools:

  • express/mysql: Performant, extensible web server framework

Features

  • PWA
  • Notification
  • Offline
  • Install Homescreen
  • Responsive Mobile
  • Runs everywhere: Can be deployed via now, up, AWS Lambda, Heroku etc.

Getting Started


These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installation

Install yarn as global packages if not npm install -g yarn

    yarn install

You can use npm. But I recommend usage yarn instead of npm

Usage


  yarn start || npm start

Server will start with port http://localhost:8080

  npm build || npm build

Server will start with port http://localhost:4500 and environment NODE_ENV is development with yarn dev or production with yarn production

By default application will run with environment development. If you want to specify environment, ex: testEnvironment. You modify on folder scripts part of package.json file as below:

  • Current: "dev": "cross-env NODE_ENV=development nodemon --exec babel-node src/index.js",

  • Change to: "dev": "cross-env NODE_ENV=testEnvironment nodemon --exec babel-node src/index.js",

Running the tests || Scan ESlint issues

up (Coming soon ๐Ÿ”œ )

Deployment

Heroku

To deploy your application server with Heroku, follow these instructions:

  1. Download and install the Heroku Command Line Interface (previously Heroku Toolbelt)
  2. Log in to the Heroku CLI with heroku login
  3. Navigate to the root directory of your app server
  4. Create the Heroku instance by executing heroku create
  5. Deploy your app server by executing git push heroku master

up (Coming soon ๐Ÿ”œ )

AWS Lambda (Coming soon ๐Ÿ”œ )

Help & Community

Join me. if you run into issues or have questions. I love talking to you!

Prisma

pwa-christmas's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.