Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aarush-narang/next-project-template-typescript
Project Template for NextJS in TypeScript
https://github.com/aarush-narang/next-project-template-typescript
eslint mantine nextjs tailwind typescript
Last synced: 19 days ago
JSON representation
Project Template for NextJS in TypeScript
- Host: GitHub
- URL: https://github.com/aarush-narang/next-project-template-typescript
- Owner: aarush-narang
- License: mit
- Created: 2023-03-31T19:15:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T19:18:44.000Z (about 1 year ago)
- Last Synced: 2024-11-12T16:16:36.481Z (3 months ago)
- Topics: eslint, mantine, nextjs, tailwind, typescript
- Language: TypeScript
- Homepage:
- Size: 1.13 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Template For NextJS in Typescript
Yarn is used as the package manager in this template, but you can use npm (or any other package manager) if you need to as all dependencies are included in the `package.json` file.
## Included Packages
- NextJS
- Typescript
- ESLint
- Prettier
- Jest
- SWR
- CORS
- tailwindcss
- js-cookie
- next-sitemapand their dependencies.
## Included Scripts
- `dev`: Run the development server
- `prebuild`: Run jest tests
- `build`: Build the application
- `postbuild`: Run next-sitemap to generate sitemap and robots.txt
- `start`: Run the production server
- `lint`: Run ESLint
- `export`: Export the application to static HTML
- `test`: Run Jest tests
- `test:ci`: Run Jest tests in CI mode## Other Info
- The `__tests__` folder is used for Jest tests.
- The `components` folder is used for components in the application.
- The `lib` folder is used for utility functions and other code that is not a component (including, but not limited to, methods for updating your database, constant variables, middleware, etc.).
- The `pages` folder is used for pages in the application.
- The `pages/api` folder is used for API routes.
- The `public` folder is used for static assets that are not imported in the application.
- The `styles` folder is used for global styles and style modules.
- The `util` folder is used for utility functions and other code that is not a component.All necessary configuration files are included in the template and can be modified as needed.