Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whosramoss/coffee-boilerplate

Coffee Boilerplate is a time-saving Next.js and TypeScript boilerplate designed to accelerate your development process. Build interactive and engaging web experiences with ease.
https://github.com/whosramoss/coffee-boilerplate

eslint framer-motion next-theme nextjs tailwindcss typescript zod

Last synced: 12 days ago
JSON representation

Coffee Boilerplate is a time-saving Next.js and TypeScript boilerplate designed to accelerate your development process. Build interactive and engaging web experiences with ease.

Awesome Lists containing this project

README

        


Coffee

Coffee NextJS Boilerplate



This template provides a starting point for building Next.js apps with amazing animations.


Website
React
Tailwind
TypeScript
Framer Motion


Prettier
eslint
zod




Check the preview




## How to install ⚡

```bash
# Clone the project
git clone https://github.com/whosramoss/coffee-boilerplate/

# Go to the project directory
cd coffee-boilerplate

# Install dependencies
npm install

# Start the server
npm run dev
```

## How to build ⚡
- To generate a static compilation, the `next.config.mjs` file must have the parameters below :
```bash
const staticbuild = {
distDir: 'build',
output: 'export',
trailingSlash: true,
}
```
- Run the command:
```bash
npm run build
```
## Structure 📂

- [src](./src/) – Add all folders below
- [app](./src/app/) – Contains pages, layouts, and api routes
- [client](./src/client/) – Contains components, hooks, providers, and styles
- [server](./src/server/) – Contains schemas and services
- [shared](./src/shared/) – Contains methods, types, enums and constants that will be used in more than one place in the application

## Features 🦾

- [Next.js](https://nextjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Prettier](https://prettier.io/)
- [ESLint](https://eslint.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Framer Motion](https://framer.com/motion)
- [Zod](https://zod.dev/)

## Hooks ⚡
### Animation
- [useAnimationCursor](./src/client/hooks/useAnimationCursor.ts)
- [useAnimationFadeIn](./src/client/hooks/useAnimationFadeIn.ts)
- [useAnimationHoriozontalList](./src/client/hooks/useAnimationHoriozontalList.ts)
- [useAnimationHover](./src/client/hooks/useAnimationHover.ts)
- [useAnimationItemMouseMove](./src/client/hooks/useAnimationItemMouseMove.ts)
- [useAnimationParallax](./src/client/hooks/useAnimationParallax.ts)
- [useAnimationParallaxImage](./src/client/hooks/useAnimationParallaxImage.ts)
- [useAnimationSplash](./src/client/hooks/useAnimationSplash.ts)
- [useAnimationTextScroll](./src/client/hooks/useAnimationTextScroll.ts)

### Others
- [useApiFetch](./src/client/hooks/useApiFetch.ts)
- [useLocalStorage](./src/client/hooks/useLocalStorage.ts)
- [useMediaQuery](./src/client/hooks/useMediaQuery.ts)
- [useTabs](./src/client/hooks/useTabs.ts)
- [useTimeout](./src/client/hooks/useTimeout.ts)

## API
[FAKE COFFEE API](https://fake-coffee-api.vercel.app/) : Fake coffee products rest API for your e-commerce or cafe website prototype

## Contributing 📄
If you want to contribute to `coffee-boilerplate`, please make sure to review the [contribution guidelines](https://github.com/whosramoss/coffee-boilerplate/blob/master/CONTRIBUTING.md). This project makes use of [GitHub issues](https://github.com/whosramoss/coffee-boilerplate/issues) for
tracking requests and bugs.

## License 📄

MIT License. [LICENSE](./LICENSE)

## Author ✍️

Gabriel Ramos ([@whosramoss](https://github.com/whosramoss))