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
yarn install
yarn start
This runs the server in production.
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.
A fresh Node version (I think 7 is the minimum requirement).
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
.
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.
TODO...
TODO
I'm thinking about using Jest, but I guess I'll with installing this until I need it.
Using Prettier for formatting, Eslint for linting and Flowtype for static type checking.
Not yet decided, so for now it's free for anyone to do whatever 🙃