Skip to content

A website that will curate recently-asked interview questions from FAANG+ to help people practice & prep!

License

Notifications You must be signed in to change notification settings

adilwahla/defaang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

defaang.io

A website that will curate recently-asked interview questions from FAANG+ to help people practice & prep!

The questions will be submitted anonymously, or at least semi-anonymously. We'll ensure that no matter who submits them, we won't reveal the usernames, emails or any other personal info unless they explicitly choose to do so.

Demo

https://defaang.io/

image image

How to start frontend (Next.js + Tailwind CSS)

Make sure you have git and npm installed in your local machine.

The repository has a .vscode folder that contains settings.json and extensions.json. The settings.json file configures your VS Code editor to use eslint and prettier on every code save action (ctrl + s). The extension.json file contains a list of VS Code extensions, VS Code will show these extensions as suggestions in the extensions tab. After installing these extensions, auto linting and formatting should start working.

Steps:

  1. Clone this repo

    git clone https://github.com/ykdojo/defaang.git
  2. Go into the project root directory

    cd defaang
  3. Install all the dependencies

    npm install
  4. Start the application development server

    npm run dev

How to deploy the application to Vercel

  1. Ensure you have a vercel account. If not, sign up for one here.

  2. Import the project into vercel.

  3. Give vercel the nessecary permissions, deploy the projects and voila the deployment is done.

How to set up Supabase

  1. Sign up on Supabase here.

  2. Create a new Project inside Supabase.

  3. Go to Settings -> API and copy the Project URL and anon.

  4. Create a new file named .env.local in the root directory.

  5. Paste the URL and annon in the .env.local file like so:

NEXT_PUBLIC_SUPABASE_URL=YOUR_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY
  1. Go to the SQL Editor tab inside the Supabase dashboard.

  2. Copy the SQL queries from here and paste them in the SQL Editor.

  3. Run the queries and you're done.

For more reference, read the Next Quickstart for Supabase

Alternatively, you can immediately open the workspace on Gitpod by clicking the button below:

Open in Gitpod

Contributing

After you have installed defaang on your local machine, head over to our CONTRIBUTING.md guide to assist with all you need to know before getting started with making changes to the codebase.

Discord

Join us here.

Streaming

I (YK) stream almost every day showing my progress on this project on Twitch here.

About

A website that will curate recently-asked interview questions from FAANG+ to help people practice & prep!

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • TypeScript 92.7%
  • PLpgSQL 3.4%
  • JavaScript 3.2%
  • Other 0.7%