- Notifications
You must be signed in to change notification settings - Fork88
A launching platform for dev tools, built by developers. Open-source and collaborative, we use GitHub pull requests for listings and user logins for genuine voting. Join us at DevHunt to showcase your innovations and empower developer tools across the web! Led byhttps://twitter.com/johnrushx .
License
MarsX-dev/devhunt
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Open-source and collaborative launching platform for dev tools, built by developers. Join us atDevHunt.org to showcase your innovations and empower developer tools across the web!
Create a.env.local file at the root of your project and populate it with the following environment variables:
NEXT_PUBLIC_SUPABASE_URL=https://tusrbkspwpvucxzqhrgo.supabase.coNEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InR1c3Jia3Nwd3B2dWN4enFocmdvIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTYyNzI2OTUsImV4cCI6MjAxMTg0ODY5NX0.-HdjMYlbwVMggJiQ4cFxpr-AmNH1ueXBEgqxMPDlSJYInstall packages
npm install# oryarn install# orpnpm install
Run dev server
npm run dev
Openhttp://localhost:3000 in your browser.Done!
This is aNext.js project bootstrapped withcreate-next-app.
- Create aSupabase Project and make sure to save the database password.
- Then navigate to
Project Settings->Database Settings->Connection Info - Copy the
Hostvalue, which should look likedb.<ReferenceID>.supabase.co
To restore the dump, execute the following command:
psql -h db.<ReferenceID>.supabase.co -U postgres -d postgres< /supabase/dump.sql
You will be prompted to enter the database password. This can be found inProject Settings ->Database Settings ->Database Password. Alternatively, use the password you saved during project creation.
Create a.env.local file at the root of your project and populate it with the following environment variables:
NEXT_PUBLIC_SUPABASE_URL=<Your_Project_URL>NEXT_PUBLIC_SUPABASE_ANON_KEY=<Your_Anonymous_Key>SUPABASE_SERVICE_ROLE_KEY=<Your_Service_Role_Key>You can find the key values here:
<Your_Project_URL>- Navigate toProject Settings->API->Project URLand copy theURL<Your_Anonymous_Key>- Go toProject Settings->API->Project API keysand find theanonpublickey.<Your_Service_Role_Key>- UnderProject Settings->API->Project API keyslocate theservice_rolesecretkey.
To enable social login features, follow the guides below for each platform:
- GitHub login: Simply configure your Supabase settings. For detailed instructions, refer to the SupabaseGitHub OAuth Guide - you need only to configure Supabase
- Google login: Follow the steps outlined in the SupabaseGoogle OAuth Guide
- More Providers: For a complete list of all available social login methods, consult theSupabase Social Login documentation
These guides will walk you through the necessary configurations for enabling OAuth-based social logins.
First, run the development server:
npm run dev# oryarn dev# orpnpm dev
Openhttp://localhost:3000 with your browser to see the result.
You can start editing the page by modifyingapp/page.tsx. The page auto-updates as you edit the file.
This project usesnext/font to automatically optimize and load Inter, a custom Google Font.
The easiest way to deploy your Next.js app is to use theVercel Platform from the creators of Next.js.
Check out ourNext.js deployment documentation for more details.
Are you interested in contributing to DEVHUNT, please read ourcontributing guide to learn about our development process before submitting a pull request.
You are free to fork and clone it as long as you clearly refer to the original project.If it's a github, then refer tohttps://github.com/MarsX-dev/devhuntIf it's a website, then refer to devhunt.org with a prominent logo and a link.
About
A launching platform for dev tools, built by developers. Open-source and collaborative, we use GitHub pull requests for listings and user logins for genuine voting. Join us at DevHunt to showcase your innovations and empower developer tools across the web! Led byhttps://twitter.com/johnrushx .
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors12
Uh oh!
There was an error while loading.Please reload this page.