Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zacharynoble/next-template
A Next.js App Router set-up guide for integrating with REST services.
https://github.com/zacharynoble/next-template
authentication context-api css eslint html nextjs prettier react reactjs rest-api sessions shadcn-ui starter-kit tailwind template typescript zod
Last synced: 26 days ago
JSON representation
A Next.js App Router set-up guide for integrating with REST services.
- Host: GitHub
- URL: https://github.com/zacharynoble/next-template
- Owner: zacharynoble
- License: mit
- Created: 2024-08-06T06:39:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T22:48:28.000Z (about 1 month ago)
- Last Synced: 2024-09-30T16:41:02.963Z (about 1 month ago)
- Topics: authentication, context-api, css, eslint, html, nextjs, prettier, react, reactjs, rest-api, sessions, shadcn-ui, starter-kit, tailwind, template, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Guide
### Backend
This project is using Next.js as a frontend only - it's built to integrate with a separate REST API. Here's the backend template I created that matches 1:1 with this project: https://github.com/zacharynoble/fastify-drizzle-template### Set-up Environment Variables
- Create a new file at the root level of the project directory named ```.env```.
- Copy the contents of ```.env.example``` to ```.env```
- Update any environment variables using placeholders to match your config### Install Packages
npm install### Start the application in dev mode
npm run dev### Start the application in production mode
npm run build
npm run start