Skip to content

mrepol742/devpulse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot of the floating console extension in action

devpulse

Measure and share your coding productivity with personalized leaderboards. Compare your progress with peers while keeping full control over privacy and leaderboard settings.

Getting Started

Install the dependencies:

npm install

Supabase

First by creating a supabase cloud project:

  • go to Supabase Dashboard
  • click New Project
  • choose:
    • Organization → (create one if needed)
    • Project Name → e.g. devpulse-waka
    • Database Password → choose a secure one
    • Region → pick the nearest location
  • Click Create new project
  • Wait a few moments for the database to be provisioned.

Setup Environment

Copy the .env.example to .env

cp .env.example .env

# Open .env and fill in the values for:
# NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
# NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

Development

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Database Migrations

Login first (if you haven't):

npx supabase login

Link the cloud project to this local one:

npx supabase link

It'll show the list of project you have select your project.

Push migrations to cloud:

npx supabase db push

Pull migrations from cloud:

npx supabase db pull

Updating types (if you ever changed migrations):

npx supabase gen types typescript --project-id <project-id> --schema public > app/supabase-types.ts

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy this Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Contribution Guidelines

Contributions to devpulse are welcome! Please follow these guidelines:

  1. Before modifying any existing design or logic that is already working or in use, contact us first to avoid conflicts.
  2. You are welcome to contribute new features, bug fixes, or improvements.
  3. Check the Issues tab (if available) before starting to avoid duplicate work.
  4. Follow the existing code style and conventions.
  5. Submit a pull request with a clear description of your changes and the problem it solves.

Pull requests that modify existing working features without prior discussion may not be merged.

Help us keep the codebase ("DevPulse") clean, stable, and maintainable.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Measure and share your coding productivity with personalized leaderboards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 98.2%
  • CSS 1.2%
  • Other 0.6%