Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdullahceylan/ac-react-nextjs-boilerplate

React, next.js and firebase/contentful boilerplate
https://github.com/abdullahceylan/ac-react-nextjs-boilerplate

boilerplate frontend monorepo now react reactjs serverless styled-components zeit

Last synced: 2 days ago
JSON representation

React, next.js and firebase/contentful boilerplate

Awesome Lists containing this project

README

        

# AC React and Next.js Boilerplate

- [react](https://reactjs.org/)
- [nextjs](https://nextjs.org/)
- [zeit.co/now](https://zeit.co/now)

## Setup project

- `git clone https://github.com/abdullahceylan/ac-react-nextjs-boilerplate`
- `cd ac-react-nextjs-boilerplate`
- `yarn`

## Tasks

- `yarn dev` start web development with API server
- `yarn dev:www` start web development
- `yarn dev:api` start API server
- `yarn env dev` copy `.env.dev` to `.env`
- `yarn env prod` copy `.env.prod` to `.env`
- `yarn build` local build
- `yarn start` local start
- `yarn reset` rimraf 'yarn.lock' 'node_modules' '\*\*/node_modules' && yarn
- `now` deploy to [zeit.co/now](https://zeit.co/now)

## Tips

- `yarn dev`, then open [localhost:9999/api/version](http://localhost:9999/api/version) to test the API server

## Links

- [abdullahceylan.com](https://abdullahceylan.com)
- [twitter.com/ceylanabdullah](https://twitter.com/ceylanabdullah)