rix1 / rix1-next-starter

A highly opinionated Next.js starter

Home Page:https://rix1-next-starter.rix1.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rix1's Next.js starter πŸ‘¨β€πŸ³

This is Rix1s NextJS starter. I have sort of done mise en place so that I can just start cooking PoCs without setting up anything.

The kitchen has the following prepared for you

  • NextJS
  • Tachyons (from CDN) and styled-jsx for styling
  • Flow
  • Jest
  • ESLint
  • Prettier
  • Common components

Installing / Getting started

yarn install
yarn start

This runs the server in production.

Developing

Built With

This project uses Next.js which makes it easy to create React apps with zero config. Styling is done with Tachyons, and custom stuff is achieved with styled-jsx.

Prerequisites

A fresh Node version (I think 7 is the minimum requirement).

Setting up Dev

To start developing, first clone the repo

git clone https://github.com/rix1/rix1-next-starter.git
cd rix1-next-starter/
yarn install

That's it! To fire up a local dev server, do:

yarn dev

See additional scripts in package.json.

Building

To build a production ready application, do:

yarn build

Nextjs is set up with Webpack(?) and Babel, and takes care of bundeling everyhing for us.

Deploying / Publishing

TODO...

Configuration

TODO

Tests

I'm thinking about using Jest, but I guess I'll with installing this until I need it.

Style guide

Using Prettier for formatting, Eslint for linting and Flowtype for static type checking.

Licensing

Not yet decided, so for now it's free for anyone to do whatever πŸ™ƒ

About

A highly opinionated Next.js starter

https://rix1-next-starter.rix1.vercel.app


Languages

Language:JavaScript 100.0%