-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/infrastructure/babel…
…/traverse-7.23.2
- Loading branch information
Showing
149 changed files
with
12,929 additions
and
59,688 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
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,27 @@ | ||
X Add authentication middleware - https://www.youtube.com/watch?v=Y3o4or23V-0 | ||
X Style Auth pages | ||
X Style verify email | ||
X nextjs_template branch - https://github.com/Siumauricio/nextui-dashboard-template?tab=readme-ov-file | ||
X Add unprotected landing page without navbar/sidebar | ||
X Build out landing page | ||
X Clean out route names (make components/home components/dashboard so app/home can be there) | ||
X Add update password | ||
X Add reset password - https://github.com/alexrusin/nextjs-cognito-auth/tree/5-reset-password-end | ||
X Add resend verification email | ||
X Clean up dashboard template | ||
X Call AppSync APIs | ||
|
||
- Fix github actions | ||
- Deploy to AWS | ||
- AWS Amplify Console - ttps://medium.com/@stk.devtest/a-beginners-guide-to-hosting-next-js-14-on-aws-amplify-db455631d56b | ||
- SST v2 CDK - https://docs.sst.dev/start/nextjs | ||
- SST v3 ION | ||
- (optional) Switch to using Amplify UI Authenticator component - https://github.com/focusOtter/fullstack-nextjs-cdk-starter/tree/main | ||
|
||
##### References | ||
|
||
- Auth | ||
- https://github.com/focusOtter/fullstack-nextjs-cdk-starter/tree/main | ||
- https://github.com/alexrusin/nextjs-cognito-auth/tree/5-reset-password-end | ||
- Dashboard Template | ||
- https://github.com/Siumauricio/nextui-dashboard-template?tab=readme-ov-file |
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,2 @@ | ||
NEXT_PUBLIC_USER_POOL_ID= | ||
NEXT_PUBLIC_USER_POOL_CLIENT_ID= |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
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,39 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
|
||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
/.github/ |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Mauricio Siu | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,58 +1,71 @@ | ||
# Welcome to Remix! | ||
# NextJS and NextUI Dashboard Template Starter | ||
|
||
- [Remix Docs](https://remix.run/docs) | ||
You can deploy here directly to vercel [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/Siumauricio/nextui-dashboard-template) | ||
|
||
## Development | ||
|
||
From your terminal: | ||
V1 Version Stitches https://v1-nextui-dashboard-template.vercel.app/ | ||
V1 Code: https://github.com/Siumauricio/nextui-dashboard-template/tree/v1 | ||
|
||
```sh | ||
npm run dev | ||
``` | ||
This is a template for NextJS and NextUI. | ||
|
||
This starts your app in development mode, rebuilding assets on file changes. | ||
[NextJS](https://nextjs.org/) | ||
[NextUI](https://nextui.org/) | ||
|
||
## Deployment | ||
You can see the demo here: https://nextui-dashboard-template.vercel.app/ | ||
For improve this template, you can create a pull request or open an issue here [Issues](https://github.com/Siumauricio/nextui-dashboard-template/issues) or [Pull Request]( | ||
https://github.com/Siumauricio/nextui-dashboard-template/pulls) | ||
|
||
First, build your app for production: | ||
### Dark Mode | ||
![Dashboard Dark Mode](./public/dark.png) | ||
|
||
```sh | ||
npm run build | ||
``` | ||
### Light Mode | ||
![Dashboard Light Mode](./public/light.png) | ||
|
||
Then run the app in production mode: | ||
|
||
```sh | ||
npm start | ||
``` | ||
|
||
Now you'll need to pick a host to deploy it to. | ||
- Dark Mode Support | ||
- Full Responsive | ||
- Home Page with Charts | ||
- Accounts Page | ||
- More pages coming soon... | ||
|
||
### DIY | ||
``` | ||
├── components | ||
│ ├── accounts # Accounts components | ||
│ ├── charts # Charts components | ||
│ ├── breadcrumb # component | ||
| ├── home # Home components | ||
| ├── layout # Layout components | ||
| ├── navbar # Navbar components | ||
| ├── sidebar # Sidebar components | ||
| ├── table # Table components | ||
| ├── styles # Some reusable components | ||
| ├── icons # Icons | ||
| ├── hooks # Hooks | ||
├── app # Documentation files | ||
│ ├── accounts # Accounts route | ||
| ├── page.tsx # Accounts page | ||
│ ├── page.tsx # Entry point for the app | ||
│ ├── layout.tsx # Layout applied to all application pages | ||
│ ├── providers.tsx # Theme provider | ||
│ ├── more... # Soon | ||
└── | ||
``` | ||
|
||
If you're familiar with deploying node applications, the built-in Remix app server is production-ready. | ||
## For Run | ||
|
||
Make sure to deploy the output of `remix build` | ||
Install dependencies | ||
|
||
- `build/` | ||
- `public/build/` | ||
|
||
### Using a Template | ||
```bash | ||
npm install | ||
``` | ||
|
||
When you ran `npx create-remix@latest` there were a few choices for hosting. You can run that again to create a new project, then copy over relevant code/assets from your current app to the new project that's pre-configured for your target server. | ||
Start the server | ||
|
||
Most importantly, this means everything in the `app/` directory, but if you've further customized your current application outside of there it may also include: | ||
|
||
- Any assets you've added/updated in `public/` | ||
- Any updated versions of root files such as `.eslintrc.js`, etc. | ||
|
||
```sh | ||
cd .. | ||
# create a new project, and pick a pre-configured host | ||
npx create-remix@latest | ||
cd my-new-remix-app | ||
# remove the new project's app (not the old one!) | ||
rm -rf app | ||
# copy your app over | ||
cp -R ../my-old-remix-app/app app | ||
```bash | ||
npm run dev | ||
``` | ||
|
||
Now you can visit https://localhost:3000 in your browser. |
Oops, something went wrong.