Skip to content

🏯A starter project for Next.js with authentication

License

Notifications You must be signed in to change notification settings

myungjaeyu/nextjs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c1ca000 Β· Mar 26, 2020
Nov 10, 2019
Nov 4, 2019
Nov 4, 2019
Nov 4, 2019
Dec 2, 2019
Dec 2, 2019
Nov 19, 2019
Oct 30, 2019
Nov 10, 2019
Jan 22, 2020
Jul 17, 2019
Dec 2, 2019
Mar 26, 2020

Repository files navigation

nextjs-starter

🏯 A starter project for Next.js with authentication

Demo




Installation

git clone https://github.com/myungjaeyu/nextjs-starter.git my-app

cd my-app

yarn install

yarn dev

# http://localhost:3000

Usage

  1. production build yarn build

  2. open the local server with the production file yarn start

Features

  • Nextjs
  • Sass
  • Emotion
  • Redux-observable
  • Shards-react
  • File-system dynamic route
  • Preload / prefetch resource
  • Precache, runtime cache, offline support
  • Authentication support
  • SEO support

Copyright Β© 2019 Myungjae Yu


Nextjs vendors

Vendor URL
next https://github.com/zeit/next.js
next-compose-plugins https://github.com/cyrilwanner/next-compose-plugins
next-sass https://www.npmjs.com/package/@zeit/next-sass
next-css https://www.npmjs.com/package/@zeit/next-css
next-pwa https://github.com/shadowwalker/next-pwa
next-seo https://github.com/garmeeh/next-seo
next-redux-wrapper https://github.com/kirill-konshin/next-redux-wrapper

CSS vendors

Vendor URL
node-sass https://github.com/sass/node-sass
emotion https://github.com/emotion-js/emotion
shards-react https://github.com/DesignRevision/shards-react
react-fontawesome https://github.com/danawoodman/react-fontawesome
Noto Sans CJK(κ²½λŸ‰ν™” 버전) https://nonria.com/post/104

State mgmt vendors

Vendor URL
redux https://github.com/reduxjs/redux
react-redux https://github.com/reduxjs/react-redux
redux-observable https://github.com/redux-observable/redux-observable
universal-rxjs-ajax https://github.com/mcmunder/universal-rxjs-ajax
redux-actions https://github.com/redux-utilities/redux-actions
immutability-helper https://github.com/kolodny/immutability-helper
react-hook-form https://github.com/react-hook-form/react-hook-form
js-cookie https://github.com/js-cookie/js-cookie
nookies https://github.com/maticzav/nookies

Etc vendors

Vendor URL
rxjs(6.5.3) https://github.com/ReactiveX/rxjs/tree/6.x
axios https://github.com/axios/axios
nodemon https://github.com/remy/nodemon

Directory & File Structure

nextjs-starter/
β”‚
β”œβ”€β”€ bin/
β”‚   └── www/
β”‚       └── index.js
β”‚
β”œβ”€β”€ components/
β”‚   └── Layout/
β”‚       β”œβ”€β”€ footer.js
β”‚       β”œβ”€β”€ header.js
β”‚       └── index.js
β”‚
β”œβ”€β”€ hoc/
β”‚   └── withAuth/
β”‚       └── index.js
β”‚
β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ _app.js
β”‚   β”œβ”€β”€ index.js
β”‚   β”œβ”€β”€ login.js
β”‚   β”‚
β”‚   └── profile/
β”‚       └── [username].js
β”‚
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ fonts/
β”‚   β”œβ”€β”€ images/
β”‚   └── styles/
β”‚
β”œβ”€β”€ store/
β”‚   β”œβ”€β”€ constants/
β”‚   β”‚   └── index.js
β”‚   β”‚
β”‚   β”œβ”€β”€ modules/
β”‚   β”‚   β”œβ”€β”€ auth.js
β”‚   β”‚   └── github.js
β”‚   β”‚
β”‚   β”œβ”€β”€ epics/
β”‚   β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”œβ”€β”€ github/
β”‚   β”‚   └── index.js
β”‚   β”‚
β”‚   β”œβ”€β”€ reducers.js
β”‚   └── index.js
β”‚
β”œβ”€β”€ next-seo.config.js
└── next.config.js

License

This project is licensed under the MIT license.

About

🏯A starter project for Next.js with authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published