You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ae9cda9
Browse filesBrowse the repository at this point in the historyBrowse files
Measure and share your coding productivity with personalized leaderboards. Compare your progress with peers while keeping full control over privacy and leaderboard settings with project management features.
6
6
7
7
## Getting Started
8
+
8
9
Install the dependencies:
9
10
10
11
npm install
11
-
```
12
-
13
-
## Supabase
14
12
15
-
First by creating a supabase cloud project:
16
-
17
-
- go to [Supabase Dashboard](https://app.supabase.com)
18
-
- click `New Project`
19
-
- choose:
20
-
- Organization → (create one if needed)
21
-
- Project Name → e.g. devpulse
22
-
- Database Password → choose a secure one
23
-
- Region → pick the nearest location
24
-
- Click Create new project
25
-
- Wait a few moments for the database to be provisioned.
2. Initialize local Supabase config (only if missing):
66
-
67
-
```bash
68
-
npx supabase init
69
-
```
70
-
71
-
3. Link this repo to your cloud project:
72
-
73
-
```bash
74
-
npx supabase link
75
-
```
76
-
77
-
You can select from the project list, or run `npx supabase link --project-ref <project-ref>`.
78
-
79
-
4. Push all migrations to the new project:
80
-
81
-
```bash
82
-
npx supabase db push
83
-
```
84
-
85
-
On a fresh project this applies only the single baseline migration.
86
-
87
-
5. (Optional) Pull remote schema changes into migrations:
88
-
89
-
```bash
90
-
npx supabase db pull
91
-
```
92
-
93
-
6. Regenerate Supabase TypeScript types after schema changes:
94
-
95
-
```bash
96
-
npx supabase gen types typescript --project-id <project-id> --schema public > app/supabase-types.ts
97
-
```
98
-
99
-
If you want to re-run the full migration chain on local development:
100
-
101
-
```bash
102
-
npx supabase db reset
103
-
```
104
-
105
-
If you need to inspect migration history, use the files in `supabase/migrations_archive/`.
106
-
107
-
108
-
## Learn More
109
-
110
-
To learn more about Next.js, take a look at the following resources:
111
-
112
-
-[Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
113
-
-[Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
114
-
115
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
116
-
117
-
## Deploy on Vercel
118
-
119
-
The easiest way to deploy this Next.js app is to use the [Vercel Platform](https://vercel.com/new/clone?repository-url=https://github.com/mrepol742/devpulse) from the creators of Next.js.
120
-
121
-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
122
-
123
35
## Contribution Guidelines
124
36
125
37
Contributions to devpulse are welcome! Please follow these guidelines:
@@ -135,4 +47,5 @@ Contributions to devpulse are welcome! Please follow these guidelines:
135
47
Help us keep the codebase ("Devpulse") clean, stable, and maintainable.
136
48
137
49
## License
50
+
138
51
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments