All Projects → Jam3 → nextjs-boilerplate

Jam3 / nextjs-boilerplate

Licence: MIT license
Jam3 NextJS Generator for SPA, SSG, SSR and JAMStack applications

Programming Languages

typescript
32286 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
Handlebars
879 projects

Projects that are alternatives of or similar to nextjs-boilerplate

Growth In Action
全栈增长工程师实战
Stars: ✭ 2,411 (+2437.89%)
Mutual labels:  backend
Free Programming Resources
💎 免费的编程资源大全,持续更新!🔥 覆盖各种语言和方向(Java \ Python \ C++ \ JavaScript \ Golang \ 前端 \ 后端等)的学习路线、贴心教程、项目实战、编程书籍、面试合集、实用资源等,对程序员非常有帮助!
Stars: ✭ 225 (+136.84%)
Mutual labels:  backend
gochk
Static Dependency Analysis Tool for Go Files
Stars: ✭ 68 (-28.42%)
Mutual labels:  static
Storaji
📒 The light/responsive inventory management system available on Windows, macOS and Linux.
Stars: ✭ 222 (+133.68%)
Mutual labels:  backend
Terraform Aws Tfstate Backend
Terraform module that provision an S3 bucket to store the `terraform.tfstate` file and a DynamoDB table to lock the state file to prevent concurrent modifications and state corruption.
Stars: ✭ 229 (+141.05%)
Mutual labels:  backend
Yii2 Usuario
Highly customizable and extensible user management, authentication, and authorization Yii2 extension
Stars: ✭ 251 (+164.21%)
Mutual labels:  backend
Go Graphql Starter
This repository uses graph-gophers/graphql-go to build a starter web application
Stars: ✭ 204 (+114.74%)
Mutual labels:  backend
django-freeze
🧊 convert your dynamic django site to a static one with one line of code.
Stars: ✭ 81 (-14.74%)
Mutual labels:  static
Full Stack Fastapi Couchbase
Full stack, modern web application generator. Using FastAPI, Couchbase as database, Docker, automatic HTTPS and more.
Stars: ✭ 243 (+155.79%)
Mutual labels:  backend
htmlhost
hostHTML.live is downright the fastest way of hosting your single page HTML!
Stars: ✭ 21 (-77.89%)
Mutual labels:  static
Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+2623.16%)
Mutual labels:  backend
Appy
🚀 A full stack boilerplate web app
Stars: ✭ 225 (+136.84%)
Mutual labels:  backend
I18next Xhr Backend
[deprecated] can be replaced with i18next-http-backend
Stars: ✭ 252 (+165.26%)
Mutual labels:  backend
Easy Admin Demo
A demo application to showcase EasyAdmin features
Stars: ✭ 219 (+130.53%)
Mutual labels:  backend
vscode-flow-ide
Visual Studio Code extension for javascript Flowtype static type checker
Stars: ✭ 55 (-42.11%)
Mutual labels:  static
Tornarest
A simple RESTful Web Service built with Tornado.
Stars: ✭ 211 (+122.11%)
Mutual labels:  backend
Three Layer
3️⃣ 🍰 Architecture of the Haskell web applications
Stars: ✭ 246 (+158.95%)
Mutual labels:  backend
ffmpeg-builds
MOVED: https://gitlab.com/q3aql/ffmpeg-builds
Stars: ✭ 71 (-25.26%)
Mutual labels:  static
avl array
High performance templated AVL tree using a fixed size array. Extensive test suite passing.
Stars: ✭ 33 (-65.26%)
Mutual labels:  static
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (+166.32%)
Mutual labels:  backend

Jam3 NextJS Generator

GitHub

Boilerplate for React, Static and Server Side Rendered projects with NextJS

https://generator.jam3.net

Icon made by Pixel perfect from www.flaticon.com


Table of Contents


Installation

Check your Node and NPM versions.

Make sure you are using Node 16.x.x and NPM 8.x.x on your development environment. Using NVM is highly encouraged.

$ nvm use 16
$ npm install --global npm@8

TIP: If you use ZSH, you can configure automatic Node switching: https://kinduff.com/2016/09/14/automatic-version-switch-for-nvm/

Clone the GitHub repository

Or Fork it, and start working right away with it.

$ git clone https://github.com/Jam3/nyg-nextjs.git

Set up CI/CD

Deploying a static site is fairly simple, we are going to the set up for CircleCI.

To find out more, go to CircleCI Readme


Usage

1. local Front End server

# http://localhost:3000
$ npm run dev

2. storybook

# http://localhost:9001
$ npm run storybook

3. template scripts

We are using seng-generator to generate templates

# cli
$ npm run generate

# create page(s)
$ npm run generate page [page-name]

# create api routes
$ npm run generate api [api-name]

# create component
$ npm run generate component [component-name]

Default location can be edited here:

Release

To releasing new versions we are using standard-version.

Steps:

  1. When PRs/commits land to your master branch, select the Squash and Merge option.
  2. Add a title and body that follows the Conventional Commits Specification.
  3. Run $ git checkout main; git pull origin main
  4. Run $ npm run release
  5. Run $ git push --follow-tags origin main

Set up Git LFS

If you would like to track files with Git LFS follow the below steps. These steps assume docker is used to deploy, and might change based on your deployment infrastructure as it was tested in Jam3 infrastructures.

  1. Generate SSH key + save it in a encrypted env variable You can use the Codeship Pro guide. The encrypted environment will be a different file name, like .env.codeship.ssh.local

  2. Upload public SSH key to GitHub

  3. Enable Git LFS ini the artifact.sh script, uncommenting the line bash ./.codeship/set-lfs.sh

  4. Enable ssh config encrypted_env_file: .env.codeship.ssh.encrypted in codeship-services.yml


Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.


License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].