Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ijsto/inextjs-apollo
NextJS Boilerplate Project with Apollo Client and Styled-Components
https://github.com/ijsto/inextjs-apollo
Last synced: 4 days ago
JSON representation
NextJS Boilerplate Project with Apollo Client and Styled-Components
- Host: GitHub
- URL: https://github.com/ijsto/inextjs-apollo
- Owner: ijsto
- Created: 2019-11-14T01:15:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T00:50:09.000Z (almost 2 years ago)
- Last Synced: 2024-03-25T21:52:44.221Z (8 months ago)
- Language: JavaScript
- Size: 1.89 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iNextJS-Apollo
[![github follow](https://img.shields.io/github/followers/ijsto?color=%23ff665a&label=Follow%20iJS.to&logo=github&style=for-the-badge)](https://github.com/ijsto)
[![ijs](https://img.shields.io/badge/learn%20code-black?&message=Courses&style=for-the-badge&label=ijs.to&colorA=FF6666&colorB=776677)](https://ijs.to)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)
[![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e&style=for-the-badge)](https://github.com/styled-components/styled-components)#### NextJS + Apollo Client (GraphQL) + Styled-Components boilerplate/starter project
This project is a starter pack for a NextJS with Apollo Client and Styled-Components setup.
#### Featuring:
- sample static page
- sample dynamic page
- custom babel config file
- custom \_document.js and \_app.js files (to support Styled-Components and init Apollo Client)## Get Started (4 minutes)
1. Clone the the [starter repo](https://github.com/ijsto/inextjs-apollo)
```
git clone [email protected]:ijsto/inextjs-apollo.git
```
2. Enter the directory
```
cd inextjs-apollo
```
3. Install project dependencies
```
npm install` or `npm i
```
To run the project locally:
`npm run dev`
Starter project is live at: http://localhost:3000
### The starter is now ready - have fun!
## Notes
Comes with some sample components.
Offers a couple of suggestions on how to organise them.If unwanted, simply remove or edit to your liking and **most importantly** – have fun with it!
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
[MIT](https://choosealicense.com/licenses/mit/)
[iJS.to](https://ijs.to)