This is a template repo for creating million $ apps using NextJS + Stitches + Zustand.
Libraries Included
- NextJS - Main React Framework
- Stitches - Styling (CSS in JS)
- Zustand - State Management
- Immer - Immutable State (to be used on top of Zustand)
- SWR - Data Fetching
- TypeScript - Type Checking
- Prettier - using
esbenp.prettier-vscode
- Bundle Analyzer - Analyzing Bundle size
Getting Started
Step 1: Click on [Use This Template
] and create your own repo out of it
Step 2: Run the following command
git clone [your newly created Repo Git URL, for that click on the green `Code` Button on your repo and copy the Git URL that appear, make sure that the URL is ending with .git ]
cd [repo name]
code . # it opens VS Code
yarn install
yarn dev
Open http://localhost:3000 with your browser to see the result.
Happy Coding!
Learn More
To learn more about tools in the template, take a look at the respective libraries documentation:
- Next.js Documentation
- Stitches Documentation
- Zustand Documentation
- Immer Documentation
- SWR Documentation
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.