https://github.com/eyeix/nextjs-template
A set of templates of Next.js
https://github.com/eyeix/nextjs-template
Last synced: 6 months ago
JSON representation
A set of templates of Next.js
- Host: GitHub
- URL: https://github.com/eyeix/nextjs-template
- Owner: eyeix
- License: mit
- Created: 2021-12-30T07:04:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-22T05:52:24.000Z (over 4 years ago)
- Last Synced: 2026-01-29T20:11:21.957Z (6 months ago)
- Size: 200 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
There are some [Next.js](https://nextjs.org/) Templates created by [lrvinye](https://github.com/lrvinye).
## Starter
- [Redux toolkit for state management (with redux-persist)](https://github.com/lrvinye/nextjs-template/tree/redux-toolkit)
- [TailwindCss as style design](https://github.com/lrvinye/nextjs-template/tree/tailwindcss)
- [i18Next & react-i18next for i18n translation](https://github.com/lrvinye/nextjs-template/tree/i18next)
- [React-Query state persistent](https://github.com/lrvinye/nextjs-template/tree/react-query)
## Getting Started
Firstly, install the dependencies:
```bash
npm install
# or
yarn
```
Them, run the development server:
```bash
npm run dev
# or
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
## Learn More
To learn more about Next.js and other tech of this template, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
- [Tailwind Css Docs](https://tailwindcss.com/docs) - learn about Tailwind Css and design.
- [Redux Toolkit Docs](https://redux-toolkit.js.org) - learn about best practice for redux.
- [i18Next](https://www.i18next.com) - I18next is an internationalization-framework written in and for JavaScript. But it's much more than that.
- [react-i18Next](https://github.com/i18next/react-i18next) - Internationalization for react done right. Using the i18next i18n ecosystem.
- [react-query](https://https://react-query.tanstack.com) - Performant and powerful data synchronization for React
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new) from the creators of Next.js.
Check out [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.