Giter Club home page Giter Club logo

template's Introduction

@bene/template

Work in progress

Project template for building fullstack TypeScript applications.

Components

Apps

Name Description
api Empty Node.js app
web React Web app (SPA)
mobile ReactNative app using Expo

Packages

Name Description
sdk An SDK packages which is intended to be published on npm
utils Code which is used in multiple packages in the project
types TypeScript types which are used in multiple packages in the project

Usage

0. Clone repo and re-init

git clone [email protected]:bene/template.git
rm -rf .git
git init

1. Rename project

Replace all occurrences of @template with the name of the project.

2. Customize

Often not all of the default packages are needed.

rm -rf apps/mobile

Or packages should have a different name

mv packages/utils packages/shared

3. Update deps

The dependencies are not updated automatically and will be outdated most of the time.

yarn
yarn outdated

4. Start development

To start all apps Turborepo is used.

yarn dev

Deployment

API

Option Description Requirements
Dokku CI/CD to Dokku SSH_PRIVATE_KEY repo secret containing an SSH key to access the Dokku server
deploy-dokku.yml must be updated to use the correct git_remote_url
Cloud Run Serverless platform from Google Setup in Cloud Console
Docker Run Docker image manually None

Web

Option Description Requirements
Netlify Static site hosting platform Setup in console
Self-hosted Traditionally way of deploying web apps File server (e.g. Caddy)

template's People

Contributors

bene avatar

Watchers

 avatar

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.