Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdullahceylan/ac-react-simple-boilerplate
A light React SSR boilerplate built with React.js, styled-components, next.js, Apollo and GraphQL
https://github.com/abdullahceylan/ac-react-simple-boilerplate
apollo boilerplate boilerplate-front-end frontend graphql next nextjs react reactjs ready-to-use styled-components
Last synced: 19 days ago
JSON representation
A light React SSR boilerplate built with React.js, styled-components, next.js, Apollo and GraphQL
- Host: GitHub
- URL: https://github.com/abdullahceylan/ac-react-simple-boilerplate
- Owner: abdullahceylan
- License: mit
- Created: 2019-01-21T00:04:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T21:57:41.000Z (over 5 years ago)
- Last Synced: 2024-11-10T21:35:03.703Z (3 months ago)
- Topics: apollo, boilerplate, boilerplate-front-end, frontend, graphql, next, nextjs, react, reactjs, ready-to-use, styled-components
- Language: JavaScript
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ac-react-simple-boilerplate
A light React SSR boilerplate built with React.js, styled-components, next.js, Apollo and GraphQL.**NOTE:** This repo is still WiP. Please do not use for the production!!
## Running Locally
1. Clone this repo
2. Type `cd ac-react-simple-boilerplate` to enter the project folder
3. Run `npm install` or `yarn install` and install dependencies
4. Rename `next.config-dev.js` to `next.config.js`
5. Insert your API BASE url into the `next.config.js`
6. Run `npm run dev` or `yarn dev` and visit [localhost:3000](http://localhost:3000)## Build
1. Run `npm run build` or `yarn build`
1. The compiled version will be in `/.next/dist/`## Live Example
WiP