Start your next full stack project just by cloning the repo
React, Next.js, TypeScript, Express, - that's all you need
You all know the features of React/TypeScript/Next.js/Express better than me 😉
-
Clone this repo using
git clone --depth=1 https://github.com/the-boilerplates/nextjs-express-full-stack -
Run
npm installto install all the required dependencies. -
Run
npm run devfor development environment,npm run buildto build the app andnpm startto start the built app.
| Folder | Content |
|---|---|
| api | contains the api Router |
| pages | next.js pages directory |
| server | the express server for api and next |
| script | usage |
|---|---|
build |
build the express and node app |
dev |
runs the express app in development environment |
postinstall |
install respective types for dependencies install |
start |
start the built app |