Skip to content

Boilerplate for a quick check of ideas - next & express.js (custom server)

Notifications You must be signed in to change notification settings

Dilven/doit-boilerplate-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Boilerplate Nextjs with custom server (express.js)

Installation

npm i

Development

npm run dev

or with docker

npm run dev:docker

Static analysis code

to check:

npm run static:check

to fix:

npm run static:fix

Static Generation and Server-side Rendering

https://nextjs.org/docs/basic-features/pages#server-side-rendering

API Routes

host/api

Packages

  • HTTP requests (Client) - ky
  • HTTP requests (Server)- ky-universal
  • Validation - zod
  • Forms - react-hook-form
  • Styles - `styled-components
  • Static analysis code - eslint, prettier
  • Asynchronous state management -@tanstack/react-query

Features

  • SSR
  • Fast Refresh
  • ESLint
  • TypeScript
  • Theme
  • Express api endpoints
  • Module path aliases (use @ imports only for nextjs application)

About

Boilerplate for a quick check of ideas - next & express.js (custom server)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published