Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 1.85 KB

README.md

File metadata and controls

69 lines (38 loc) · 1.85 KB

iNextJS-Apollo

github follow ijs code style: prettier style: 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

git clone [email protected]:ijsto/inextjs-apollo.git

  1. Enter the directory

cd inextjs-apollo

  1. 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

iJS.to