Skip to content

Commit

Permalink
fix checkout page, add missing i18n strings, improve dx
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Jan 13, 2024
1 parent a7e5db0 commit ac67fd9
Show file tree
Hide file tree
Showing 43 changed files with 1,175 additions and 728 deletions.
301 changes: 94 additions & 207 deletions README.md

Large diffs are not rendered by default.

25 changes: 19 additions & 6 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": { "enabled": false },
"files": { "ignore": ["node_modules"] },
"organizeImports": {
"enabled": false
},
"files": {
"ignore": ["node_modules"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": { "noUselessElse": "off" },
"suspicious": { "noExplicitAny": "off" },
"correctness": { "useExhaustiveDependencies": "off" },
"complexity": { "useLiteralKeys": "off" }
"style": {
"noUselessElse": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
},
"complexity": {
"useLiteralKeys": "off"
}
}
}
}
145 changes: 93 additions & 52 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,93 @@
# Project Changelog

Please check the roadmap checklist on README.md instead reading this OUTDATED file.

## v0.0.0-v1.2.0 Features

- [x] Utilized [Next.js 14](https://nextjs.org), [React 18](https://react.dev), [TailwindCSS](https://tailwindcss.com), and [TypeScript](https://typescriptlang.org) serve as the project's core technologies.
- [x] Implemented authentication through **both [Clerk](https://clerk.com/) and [NextAuth.js](https://authjs.dev)**.
- [x] Unleashed extensive internationalization **in 10 languages** (_English, German, Spanish, Persian, French, Hindi, Italian, Polish, Turkish, Ukrainian_), using [next-intl](https://next-intl-docs.vercel.app).
- [x] Undertook [Drizzle ORM](https://orm.drizzle.team), utilizing **both MySQL and PostgreSQL** databases, and [PlanetScale](https://planetscale.com)/[Neon](https://neon.tech)/[Vercel](https://vercel.com)/[Railway](https://railway.app) services.
- [x] Successfully configured `next.config.mjs` with i18n and MDX support.
- [x] Strived for thorough documentation and a beginner-friendly approach throughout the project.
- [x] Skillfully configured and commented on `middleware.ts` for i18n and next-auth.
- [x] Set upped the Content-Security-Policy header as a security measure to prevent XSS attacks.
- [x] Provided exemplary VSCode settings and recommended extensions.
- [x] Optimized the [Next.js Metadata API](https://nextjs.org/docs/app/building-your-application/optimizing/metadata) for SEO, integrating file-system handlers.
- [x] Integrated a TailwindCSS screen size indicator for local project runs.
- [x] Established a user subscription and checkout system using [Stripe](hhttps://github.com/stripe/stripe-node#readme).
- [x] Ensured type-safety validations for project schemas and UI fields using [Zod](https://zod.dev).
- [x] Employed [EsLint](https://eslint.org) and [Prettier](https://prettier.io) to ensure the code is safe and readable.
- [x] Elegantly executed the font system, utilizing [Inter](https://rsms.me/inter) and additional typefaces.
- [x] Developed a storefront, incorporating product, category, and subcategory functionality.
- [x] Designed a modern, cleanly composed UI using [Radix](https://radix-ui.com), with attractive UI components from [shadcn/ui](https://ui.shadcn.com).
- [x] Composed a comprehensive, beginner-friendly `README.md`, including descriptions of [environment variables](https://nextjs.org/docs/basic-features/environment-variables).
- [x] Blog functionality realized through the use of MDX files.
- [x] Implemented [tRPC](https://trpc.io) and [TanStack Query](https://tanstack.com/query) for server and client data fetching.

## v1.0.0-v1.2.0 Commits

- 19. [🟢 feat(app): add a large number of updates](https://github.com/blefnk/relivator/commit/0bcee920b482e63c67dbe030fe12784429d6c8fc)
- 20. [🛡️ feat(app): improve stability and security](https://github.com/blefnk/relivator/releases/tag/1.2.0)

## v0.0.0-v1.0.0 Commits

- 1. [🌱 feat(app): initial deploy](https://github.com/blefnk/relivator/commit/4099c7c7e444b3e5782487355a508fdfdb3a14cd)
- 2. [💎 feat(app): initial update](https://github.com/blefnk/relivator/commit/67a68f4cb93f76937b307fc056ba99a9675ba700)
- 3. [🌅 upd(app): global update](https://github.com/blefnk/relivator/commit/6247d5cda5a5dc5dea19940b64b39a5ab9aa6ce7)
- 4. [🦫 feat(db): add drizzle config](https://github.com/blefnk/relivator/commit/4dbcf8d6682530955913ec088051c63798807d1e)
- 5. [✅ feat(app): configure the app](https://github.com/blefnk/relivator/commit/fc941ef5061662a0dc8052641ab010cc45e66c60)
- 6. [☘️ feat(app): improve env styling](https://github.com/blefnk/relivator/commit/e75ed0ec2413110b0fcd75f778d63eba9d88faea)
- 7. [☘️ feat(store): init app store types](https://github.com/blefnk/relivator/commit/73b00c0ce0f3656bddbe9b71c19631c352ab89b2)
- 8. [☘️ feat(store): add more store things](https://github.com/blefnk/relivator/commit/146f9c451544112a18a734b12622f913dd3c8298)
- 9. [🧹 feat(app): temporary remove image](https://github.com/blefnk/relivator/commit/f3ce181f3d9844ba718a3aef7fadcd03776fdffe)
- 10. [🌿 feat(app): improve header and footer](https://github.com/blefnk/relivator/commit/d178f653844cd259db5095022bfe4a1de9ebd070)
- 11. [🌳 feat(app): add many new store things](https://github.com/blefnk/relivator/commit/b25ea4665975d055310a5f172d658464633d451e)
- 12. [🌄 feat(app): add payments & store actions](https://github.com/blefnk/relivator/commit/639093c454bd758f0536215ce9830daabf466852)
- 13. [💳 feat(store): add checkout & some updates](https://github.com/blefnk/relivator/commit/b61217d1afede932452190dfbbadd9bd86d22260)
- 14. [✨ feat(app): improve the project file hierarchy](https://github.com/blefnk/relivator/commit/3a66fa83eede22a0a28082c37409a6546dca3a97)
- 15. [🔴 feat(auth): deprecate clerk because i18n errors](https://github.com/blefnk/relivator/commit/2d4ff94d089548a30a9e65214c7731a68b6cae65)
- 16. [📄 upd(app): upd islands, landing and other pages](https://github.com/blefnk/relivator/commit/7e5abae355cfc4790f65bce0d6d2ddbb24b2a524)
- 17. [🍭 add(analytics): integrate vercel web analytics](https://github.com/blefnk/relivator/commit/5fb132ec4be5cb2c35e168bc9f1ad9844e3b73eb)
- 18. [🎉 feat(app): release relivator 1.0.0 version](https://github.com/blefnk/relivator/commit/52dd52012441c975747b0331530428e8f7ae5825)
# Release Notes

<!-- https://github.com/blefnk/relivator/blob/main/changelog.md -->

❄️ [Check Project Features](https://github.com/blefnk/relivator#project-features-checklist) | 🌐 [Launch Relivator's Demo](https://relivator.bleverse.com)

<details>
<summary>1.2.3 | 12.01.2024</summary>

Just a small hotfix to improve the developer experience.

[Visit release page to learn more...](https://github.com/blefnk/relivator/releases/edit/1.2.3)

</details>

<details>
<summary>1.2.2 | 03.01.2024</summary>

1.2.2 brings ESLint Stylistic Plugin into your life. This will make your work with the project even more enjoyable.

Remember, Relivator is designed to be beginner-friendly, so quite a lot of ESLint options are turned off, just turn on what you need.

These turn-offs will be gradually eliminated as we move towards the massive 2.0.0, which will significantly raise the project's standards, being professional, will be even more convenient for beginners.

[Visit release page to learn more...](https://github.com/blefnk/relivator/releases/edit/1.2.2)

</details>

<details>
<summary>1.2.1 | 02.01.2024</summary>

This is quite a small update compared to all the past ones, but this one also deserves your attention. Now, updates will generally be smaller but will appear more frequently. Thanks to this, it will be possible to easily update forks and independent projects that use Relivator as their base.

Update v1.2.1 adds Chinese localization, and among other things, work has begun on the so-called token system, which will allow future versions to work with Figma design systems in an automated way. It will also help to make the styles in the project cleaner by significantly reducing the number of Tailwind classes. For this, Relivator now installs the wonderful package @tokenami, developed by @jjenzz; Jenna, thank you so much for this library!

p.s. 1.2.1 is the first commit to the Relivator repository that no longer contains an emoji at the beginning of its name. Thanks to this, contributors to Relivator/Reliverse will no longer have to spend time inventing a suitable emoji.

[Visit release page to learn more...](https://github.com/blefnk/relivator/releases/edit/1.2.1)

</details>

<details>
<summary>1.2.0 | [27.12.2023] 🎄 Relivator v1.2.0 is here! 🥳 Click to see the announcement 🎁</summary>

_Relivator 1.2.0 is already here! I, [@blefnk Nazarii Korniienko](https://github.com/blefnk), am thrilled to wrap up this year 2023, proudly presenting this release to the OSS community! So, the result of over two months of hard work is finally here!_

In this version, significant attention was focused on stability, security, performance optimization, and a substantial improvements in design—both visually, UX, and the logic of how the app works. A lot was really done, too much to list everything! Be sure to install it and check it out for yourself!

By the way, you can now enjoy a finely-tuned ESLint Flat Config! Also, it's worth noting that Clerk, since version 1.1.0, is no longer considered deprecated in the Relivator project. Thanks to 1.2.0, Clerk now works seamlessly with an easy switch to NextAuth.js when needed, all on the fly. Plus, full support for Turbopack (next dev --turbo) is finally here, even for next-intl!

As for next-intl, finally, we can now enjoy internationalization that works not only on the client-side but also on the server! Only the 404 page has client-side i18n messages, all other pages and components use i18n as server-first. And this is really cool!

Many unique solutions have been implemented in this new version. Moreover, using Relivator from this version, you have the opportunity to try out the alpha version of our unique Code-First/No-Code Builder system for React pages and components (which will appear in Reliverse CMS in the future). Just visit the Admin page while in the development environment and enjoy.

If you have already used Relivator before, please pay attention, this is very important! Be sure to check the updated .env.example file and update your .env file accordingly.

As a small teaser/spoiler, for Relivator 1.3.0, even more improvements in visual design and UX are planned; 1.4.0 will come with a magical CLI implementation, allowing you to quickly obtain only the necessary features and dependencies for your app (even automated updates and the ability to add other functions and packages to an already installed app); 1.5.0 will undergo a full code refactoring that will meet all the best standards and practices; 1.6.0-2.0.0+ versions, apart from many other things, will receive most of the items currently unchecked in the Roadmap (located in the project's README.md). It's going to be incredible!

So, install this new version of Relivator 1.2.0 and appreciate the multitude of incredible features, and freely use it in your own projects today. Please use your preferred feedback channels to share your thoughts on Relivator 1.2.0 and what you would like to see in future releases.

Don't forget to also check out the significantly updated README.md, it's worth it.

Enjoy! ❄️☃️ Merry Christmas and Happy New Year 2024! 🎇🥳

</details>

<details>
<summary>1.1.0 | 🔥 The Most Feature-Rich Next.js 14 Starter</summary>

Here it is! Relivator has been updated to version 1.1.0!

**Now it's even more feature-rich, with cleaner code, and a more stable Next.js starter.**

Ever dreamed of having both MySQL/PostgreSQL and Clerk/NextAuth.js in one project with the ability to switch on the fly? And even if you hadn't thought about it – now it's possible. Mix and match at will – even more possibilities for on-the-fly switching are coming soon in the next releases of Relivator.

Among many other new and fixed things, Stripe is now fully functional and comes with extensive docs in the form of comments within the relevant files.

`Please star this repository` to show your support! Thank you to everyone who has shown interest in this project!

Please check out the updated list of project features in the project's README. Enjoy and please share your feedback!

[Visit release page to learn more...](https://github.com/blefnk/relivator/releases/edit/1.1.0)

</details>

<details>
<summary>1.0.0 | 🎉 Relivator Release</summary>

How to Install and Get Started? Please visit [the project's README](https://github.com/blefnk/relivator#readme), where you can always find up-to-date information about the project and how to install it easily.

[Visit release page to learn more...](https://github.com/blefnk/relivator/releases/edit/1.0.0)

</details>
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"İndir",
"isadmin",
"jdoe",
"jjenzz",
"jjenzz's",
"João",
"Kârlı",
Expand Down
Loading

0 comments on commit ac67fd9

Please sign in to comment.