https://github.com/epoll31/create-esp-app
create-esp-app
https://github.com/epoll31/create-esp-app
create-next-app next-js npm-package
Last synced: 3 months ago
JSON representation
create-esp-app
- Host: GitHub
- URL: https://github.com/epoll31/create-esp-app
- Owner: epoll31
- License: mit
- Created: 2024-06-03T20:52:43.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-01T15:55:11.000Z (11 months ago)
- Last Synced: 2025-01-22T13:03:00.886Z (4 months ago)
- Topics: create-next-app, next-js, npm-package
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/create-esp-app
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-esp-app
This is an npm package that allows you to quickly create a opinionated Next.js applications. For more information on the opinions, see the [example folder](https://github.com/epoll31/create-esp-app/tree/main/example).
## Usage
To create a new Next.js project with the pre-configured example folder, run the following command:
```bash
npx create-esp-app
```or
```bash
npx create-esp-app
```Then it will create a new directory with that name and set up the opinionated Next.js project.
Note: if you don't specify a name, the command will prompt you to enter one.
## Example Folder
The example folder contains a basic Next.js project structure with the following files and directories:
```
.
├── .eslintrc.json
├── .gitignore
├── README.md
├── next.config.mjs
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ └── favicon.ico
├── src
│ ├── app
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ ├── page.tsx
│ │ ├── providers.tsx
│ │ ├── robots.ts
│ │ └── sitemap.ts
│ ├── components
│ │ └── icons
│ │ ├── chevron-up.tsx
│ │ ├── gear.tsx
│ │ └── (...)
│ └── utils
│ └── cn.ts
├── tailwind.config.ts
└── tsconfig.json
```The `src/` directory contains the main application code:
- `app/`: Contains the Next.js app files, including the layout, pages, providers, and configuration for robots and sitemap.
- `components/icons/`: Contains reusable React icon components.
- `utils/`: Contains utility functions or helpers.You can modify or replace these files as needed to suit your project requirements.
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).