Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new beginnings #365

Merged
merged 67 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
c9fc143
feat: initial commit for next branch
ixahmedxi May 16, 2024
7d1c702
chore: adds .ds_store files to .gitignore
ixahmedxi May 16, 2024
d3c5726
feat: todos in readme
ixahmedxi May 16, 2024
0f04d16
feat: initialises gh actions
ixahmedxi May 16, 2024
8904510
fix: cspell config formatting
ixahmedxi May 16, 2024
2395615
chore: mark gh actions task as completed
ixahmedxi May 16, 2024
69d9b99
feat: initialises playwright e2e testing
ixahmedxi May 16, 2024
a8233b8
fix: bun test should run only on spec files in src
ixahmedxi May 16, 2024
454117b
refactor: name playwright upload artifact step
ixahmedxi May 16, 2024
4433921
refactor: move home page under (marketing)
ixahmedxi May 16, 2024
9d0420f
feat: adds proper seo handling
ixahmedxi May 17, 2024
b1867a6
feat: initialises work on new marketing pages
ixahmedxi May 18, 2024
ab09b61
fix: lint
ixahmedxi May 18, 2024
a361256
fix: e2e tests
ixahmedxi May 18, 2024
c02dd7d
chore: adds playwright folders to clean script
ixahmedxi May 18, 2024
3e7dd3e
chore: updates all dependencies
ixahmedxi May 18, 2024
b0cc891
feat: adds red color scales
ixahmedxi May 18, 2024
4503065
refactor: makes indigo glow bigger
ixahmedxi May 18, 2024
193a81a
feat: button primitive & usage on home page
ixahmedxi May 18, 2024
35de3af
feat: blur navbar on scroll & light/dark dashboard preview image
ixahmedxi May 25, 2024
a877b31
feat: add clerk integration in /next branch (#364)
ManavJoshi111 May 25, 2024
60866b4
refactor: next clerk publishable key to vars
ixahmedxi May 25, 2024
1a02f3f
chore: update todos
ixahmedxi May 25, 2024
7e15ac6
chore: removes jsdoc & tailwindcss prettier plugins because eslint
ixahmedxi May 25, 2024
65b9fc0
feat: drizzle-orm/neon db integration
ixahmedxi May 25, 2024
1388822
fix: run main ci on next branch
ixahmedxi May 25, 2024
35d6532
feat: adds db url to env example
ixahmedxi May 25, 2024
27dd6a0
feat: trpc api
ixahmedxi May 26, 2024
7580f4a
feat: better auth routes organisation
ixahmedxi May 26, 2024
7aae523
feat: resend & react email integration
ixahmedxi May 26, 2024
6a91741
fix: adds resend api key to gh workflows
ixahmedxi May 26, 2024
1752387
feat: better colours, light mode support & db schema
ixahmedxi May 26, 2024
6701850
feat: early access page
ixahmedxi May 27, 2024
fe1abd7
chore: trust postinstall scripts
ixahmedxi May 27, 2024
9cd959b
chore: updates deps
ixahmedxi May 27, 2024
9cb33c8
feat: early access page title
ixahmedxi May 27, 2024
d64bc85
feat: refine todos in readme
ixahmedxi May 27, 2024
0054987
feat: new todo
ixahmedxi May 27, 2024
e1d5c7a
chore: exclude branch_out file
ixahmedxi May 27, 2024
ed9d016
feat: progress towards the landing page
ixahmedxi May 28, 2024
063dfab
feat: navbar & features
ixahmedxi May 28, 2024
6350865
fix: hydration error
ixahmedxi May 28, 2024
ecbf9f5
feat: responsiveness in landing page
ixahmedxi May 28, 2024
1f38d50
feat: desktop footer
ixahmedxi May 29, 2024
824af65
feat: responsiveness
ixahmedxi May 29, 2024
05fef50
fix: lint
ixahmedxi May 29, 2024
b03aad4
chore: updates deps
ixahmedxi May 30, 2024
88fe450
feat: mobile navbar
ixahmedxi May 30, 2024
8a1c2e8
fix: adds missing mobile nav links
ixahmedxi May 30, 2024
4c0ac92
feat: final navbar touches
ixahmedxi Jun 1, 2024
0c76776
chore: updates deps
ixahmedxi Jun 1, 2024
87f08b7
chore: updates deps
ixahmedxi Jun 6, 2024
f5aa956
fix: makes footer at bottom if content size < screen size
ixahmedxi Jun 6, 2024
aed3bd3
feat: tos & privacy policy
ixahmedxi Jun 6, 2024
107acab
chore: updates todos
ixahmedxi Jun 6, 2024
bf87aac
chore: update .env.example
ixahmedxi Jun 6, 2024
0dc06a1
fix: hydration error
ixahmedxi Jun 6, 2024
0a5087c
feat: wip blog with next-mdx-remote
ixahmedxi Jun 6, 2024
96253c9
feat: blogs page
ixahmedxi Jun 6, 2024
bcc452f
feat: blog post
ixahmedxi Jun 7, 2024
e3c0bc6
chore: remove unused stuff with next.config.js
ixahmedxi Jun 7, 2024
f85741f
feat: sentry
ixahmedxi Jun 7, 2024
3ba02fd
fix: ci environment vars
ixahmedxi Jun 7, 2024
d4cabc5
404 not found
ixahmedxi Jun 7, 2024
c03468a
feat: ship it
ixahmedxi Jun 7, 2024
eed5719
chore: update readme
ixahmedxi Jun 7, 2024
b81859f
fix: lint
ixahmedxi Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
trim_trailing_whitespace = true
insert_final_newline = false
36 changes: 21 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# Sqlite database url (you can leave this as is)
DATABASE_URL="file:./dev.db"
# Neon Database
DATABASE_URL=<your-neon-database-url>

# If you're using turso for the DB, you will need this too
DATABASE_AUTH_TOKEN=
# Authentication
CLERK_SECRET_KEY=<your-clerk-secret-key>
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your-clerk-publishable-key>

# Clerk Environment Variables
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
# You don't need to change these, just copy them over into your `.env` file.
NEXT_PUBLIC_CLERK_SIGN_IN_URL='/sign-in'
NEXT_PUBLIC_CLERK_SIGN_UP_URL='/sign-up'
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL='/app'
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL='/app'

# Don't need to change those
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/app
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/app
# Upstash Redis
UPSTASH_REDIS_REST_URL=<your-upstash-rest-url>
UPSTASH_REDIS_REST_TOKEN=<your-upstash-rest-token>

# Redis (Upstash) (optional)
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Resend
RESEND_API_KEY=<your-resend-api-key>

# Sentry
NEXT_PUBLIC_SENTRY_DSN=<your-sentry-dsn>
SENTRY_ORG=<your-sentry-org>
SENTRY_PROJECT=<your-sentry-project>
SENTRY_AUTH_TOKEN=<your-sentry-auth-token>
36 changes: 0 additions & 36 deletions .eslintrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion .github/FUNDING.yml → .github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# These are supported funding model platforms

github: [ixahmedxi]
15 changes: 8 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
title: ''
labels: ''
assignees: ''
---

**Describe the bug**
Expand All @@ -12,15 +12,16 @@ A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Information (please complete the following information):**

- Bun version [e.g. 1.0.8]

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement
assignees: ""
title: ''
labels: ''
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
Expand Down
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Fixes #

## Proposed Changes

-
-
-
51 changes: 0 additions & 51 deletions .github/workflows/ci.yml

This file was deleted.

83 changes: 83 additions & 0 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Main CI

on:
push:
branches:
- main
# TODO: remove this once next branch is merged into main
- next

jobs:
main-ci:
runs-on: ubuntu-latest

environment: CI
env:
# Database
DATABASE_URL: ${{ secrets.DATABASE_URL }}

# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}

NEXT_PUBLIC_CLERK_SIGN_IN_URL: '/sign-in'
NEXT_PUBLIC_CLERK_SIGN_UP_URL: '/sign-up'
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL: '/app'
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL: '/app'

# Upstash
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}

# Resend
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}

# Sentry
NEXT_PUBLIC_SENTRY_DSN: ${{ vars.NEXT_PUBLIC_SENTRY_DSN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup Bun
uses: oven-sh/setup-bun@v1

- name: Install Dependencies
run: bun install

- name: Install Playwright Browsers
run: bun playwright install --with-deps

- name: Run DB Migrations
run: bun db:migrate

- name: Check Format
run: bun format:check

- name: Lint
run: bun lint

- name: Typecheck
run: bun typecheck

- name: Unit tests
run: bun test

- name: Build
run: bun run build

- name: Run Playwright tests
run: bun playwright test

- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
Loading
Loading