-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
313 changed files
with
25,955 additions
and
12,422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
This is the source of the [56k.cloud)](https://56k.cloud/) website, a Next.js (static-only) website, built by GitHub Actions and hosted on GitHub pages. | ||
This is the source of the [56k.cloud)](https://56k.cloud/) website, a Next.js website using Strapi as a CMS. | ||
|
||
## Getting Started | ||
|
||
Make sure you have Node v16 or better. Earlier versions were not tested. | ||
Make sure you have Node v18 or better. Earlier versions were not tested. | ||
|
||
Then, install the dependencies: | ||
|
||
```bash | ||
$ npm i | ||
``` | ||
|
||
And run the development server: | ||
Set up environment variables before running the following commands. | ||
|
||
Run the website development server: | ||
|
||
```bash | ||
$ npm run dev | ||
$ npm run dev:website | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
Run the cms development server: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
```bash | ||
$ npm run dev:cms | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
HOST=0.0.0.0 | ||
PORT=1337 | ||
APP_KEYS="toBeModified1,toBeModified2" | ||
API_TOKEN_SALT=tobemodified | ||
ADMIN_JWT_SECRET=tobemodified | ||
JWT_SECRET=tobemodified |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"ignorePatterns": ["dist", "types", "package-lock.json", "node_modules"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"sort-imports-es6-autofix" | ||
], | ||
"rules": { | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"indent": [ | ||
"error", | ||
2 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"semi": [ | ||
"error", | ||
"never" | ||
], | ||
"no-unused-vars": "error", | ||
"comma-dangle": "error", | ||
"object-curly-spacing": ["error", "never"], | ||
"sort-imports-es6-autofix/sort-imports-es6": [2, { | ||
"ignoreCase": false, | ||
"ignoreMemberSort": false, | ||
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"] | ||
}], | ||
"max-len": ["error", {"code": 120}] | ||
} | ||
} |
Oops, something went wrong.