Git Product home page Git Product logo

fullstack-starter's Introduction

Fullstack Starter

Just Client

Getting started

  • cd into client then then run npm install or yarn install
  • use npm run start to start
  • Use the carbon components and carbon components style guide whenever possible
  • Use eslint in your IDE to allow prettier to do its thing

General

  • Components unique to the route should live in that routes folder
  • If it can be shared, throw it in the components directory
  • Use reach-router for routing. It's amazingly simple, and passes url params as props.

Styling

  • Opt for using custom styled-components whenever making a new wrapper/container or customized component. Styled components allows for the same nesting rules/pseudo selectors as scss without needing the node-sass loader etc.
  • If you need a truly global style, throw it in index.css

Server + Client Together

  • Run npm install or yarn install in the root AND client directories
  • Run npm run dev or yarn dev to start both the server and client
  • Use eslint to get prettier cooking
  • .example will eventually be .env with environmental variables
  • Run yarn dev or npm run dev to start both the server and the client

Deploy to staging

  • run yarn deploy or npm run deploy
  • make an account with Zeit if you haven't already
  • staging link will be automatically generated for you and copied to clip board

fullstack-starter's People

Contributors

vpicone 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.