All Projects → microvn → nextjs-startkit

microvn / nextjs-startkit

Licence: other
Next.js (12) Custom Server + React 17 + Redux + Redux Saga

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to nextjs-startkit

CRA-boilerplate
Personal CRA boilerplate
Stars: ✭ 42 (-4.55%)
Mutual labels:  yup, formik
osresume
Resume Builder => Built with Material UI, Drag & Drop (rearrange info), Form Handling (Formik & Yup), Supports All Google Fonts (change font of resume)
Stars: ✭ 45 (+2.27%)
Mutual labels:  yup, formik
Portfolio
A Next.js & Material UI portfolio that stylizes markdown files from the GitHub API and Contentful CMS.
Stars: ✭ 18 (-59.09%)
Mutual labels:  yup, formik
apollobank
A full stack GraphQL banking application using React, Node & TypeScript.
Stars: ✭ 203 (+361.36%)
Mutual labels:  yup, formik
dynamic-form-json
dynamic-form-json is a tiny library to generate a Form in React automatically based on certain array of object that passed as a props
Stars: ✭ 16 (-63.64%)
Mutual labels:  yup, formik
curso-react-bootcamp
🦋 Repositório com o conteúdo das aulas do bootcamp de react
Stars: ✭ 14 (-68.18%)
Mutual labels:  formik
netlify-forms-formik
📝 Netlify Forms with Formik and ReCaptcha
Stars: ✭ 33 (-25%)
Mutual labels:  formik
yup-phone
☎️ Adds a phone number validation check to yup validator using google-libphonenumber
Stars: ✭ 219 (+397.73%)
Mutual labels:  yup
youtube-2020-june-multi-step-form-formik
A repository with a multi-step form using Formik, Yup and Material-UI
Stars: ✭ 86 (+95.45%)
Mutual labels:  formik
validarium
🛡Agnostic validation library for JavaScript applications.
Stars: ✭ 29 (-34.09%)
Mutual labels:  formik
shrtn-it
A url shortener developed as a course completion project
Stars: ✭ 16 (-63.64%)
Mutual labels:  yup
recipe-app
👨🏻‍🍳 Biggest list of the Best Recipes - React App and Api Rest
Stars: ✭ 20 (-54.55%)
Mutual labels:  yup
elderform
💪🏽 Form creation made easy, backed by state machines
Stars: ✭ 30 (-31.82%)
Mutual labels:  formik
ndaify-web
NDAify helps you keep your trade secrets under wraps 🔒
Stars: ✭ 33 (-25%)
Mutual labels:  formik
nexus-validate
🔑 Add argument validation to your GraphQL Nexus API.
Stars: ✭ 29 (-34.09%)
Mutual labels:  yup
Formik
Build forms in React, without the tears 😭
Stars: ✭ 29,047 (+65915.91%)
Mutual labels:  formik
reddit-clone
Full stack Reddit clone with nodejs and react native.
Stars: ✭ 69 (+56.82%)
Mutual labels:  formik
kodlama.io-javareactcamp
Java - React Camp Works | Kodlama.io
Stars: ✭ 33 (-25%)
Mutual labels:  formik
pub-apis
Find public APIs, powered by api(dot)publicapis(dot)org
Stars: ✭ 24 (-45.45%)
Mutual labels:  formik
onurl
URL Shortener created w/ Next.js, TypeScript, Mongoose
Stars: ✭ 48 (+9.09%)
Mutual labels:  formik

Next.js (12) Custom Server + React 17 + Redux + Redux Saga + Scss + Typescript Starter + Docker

This project helps you learn server side-side reactjs quickly, does not apply to people who have just learned Reactjs.

  1. Understand CSR (Client-Side) and SSR (Server-Side) correctly
  2. Don't waste time learning about static resources (Image, CSS)
  3. Jquery support (optional)
  4. Can use both React Context or Redux, Redux Saga
  5. Sharing environment configuration between CSR and SSR
  6. Support accurate and complete SEO.
  7. Can develop your project easily and quickly.

See more: https://nextjs.org/docs/getting-started

Starting template with:

  • React.js
  • Next.js ( latest ) - Custom server (express)
  • Typescript
  • SCSS
  • Redux
  • Redux Saga
  • Formik
  • Yup Validator
  • Prettier
  • Docker
  • Reverse Proxy API for CORS Domain

Changelog

  • 02/03/2022

    • Update React 17 && Next 12
    • Remove Webpack4, Upgrade Webpack5
    • Remove Next-CSS, Next-SASS
    • Update .ENV configuration with Server And Client
  • 28/12/2021

    • Update React 17 && Next 10

Config Environment And Secure

Just make sure that you reboot the server when updating .env file You can access your .env variables by deconstructing 'process.env' object, both on client and server Because when Next builded config will public and then dont write secret key in this file. you can use process.env.SECRET_KEY

Can use process.env.ENV_KEY

SSR AND SEO ( Google Bot, Facebook Index OG,etc...)

Please pass data for title, meta before UI rendered. 
Example /src/pages/users/index.js

How to use (local)

Install Dependencies
npm i
Start with Development Mode
npm run dev ( developepment )
Start with Production Mode
npm run build
npm start ( production )

How to use (Docker)

Docker build take faster for deploy production

docker build -t nextjs_image .
docker run -d -v /home/path_to_project:/home/source -p 4000:4000 --name nextjs_container nextjs_image

Configuration

You should configure things like eslint, tsconfig, prettier etc. with things that suit you and your project. Configuration in this project is not perfect - it's just my own preference, but I'm open to suggestions :)

Offline Mode

The Project support offline-mode (Service Worker) when server dont response. Please check next.config.js and uncomment it (line 27) When you use the offline mode server function will build longer than usual, consider this.

Proxy API

The project uses a proxy mechanism for APIs to avoid CORS errors in browsers. If you do not use, you can change the domain name in the config file and call it directly

Formik and Yup

The Projects using Formik and Yup help you quickly set up forms and validator.

Refer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].