https://github.com/paralect/next-starter
https://github.com/paralect/next-starter
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paralect/next-starter
- Owner: paralect
- Created: 2021-11-22T13:23:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T08:32:07.000Z (over 3 years ago)
- Last Synced: 2025-03-14T23:23:30.403Z (10 months ago)
- Language: JavaScript
- Size: 3.71 MB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This repository is no longer maintained. Check [Ship](https://github.com/paralect/ship).
# Next Starter
Next starter is what we think an ideal starting point for the most React.JS frontend applications. It is based on the following primary technologies:
- Next.js
- React Query
- React Hook Form
- Storybook + Chromatic
- PostCSS
Application structured in a way, which we find most efficient in both short and long term projects. The main intention of the current structure is to keep logical components close to each other and define clear structure for the common things, such as services, helpers, hooks, api and etc.
## [Ship UI](https://main--6218912d1e3421003a8ed707.chromatic.com)
The starter has a basic set of easily customizable components to launch applications instantly.
## Start application.
Run ```npm run dev``` that will start the application with ```development.json``` config.
You also can start the app using Dockerfile.
## Deployment
### Vercel
The easiest way to deploy Next Starter is to use the [Vercel Platform](https://vercel.com/) from the creators of Next.js.
### Docker
You can deploy Next starter anywhere where you can run Docker. In our opinion, the easiest way is [Digital Ocean Apps](https://www.digitalocean.com/products/app-platform).
### CDN
You can deploy Next starter through CDN, but keep in mind that some features of Next.js like [SSR](https://nextjs.org/docs/basic-features/pages#server-side-rendering), [API Routes](https://nextjs.org/docs/api-routes/introduction) will not work.
### Important notes
You need to set ```APP_ENV``` variable in build args in a place where you deploy application. It is responsible for the config file from ```environment``` folder that will be taken when building your application
| APP_ENV | File |
| ------------- | ------------- |
| development | development.json |
| staging | staging.json |
| production | production.json |