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

Overview

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.

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 enable email auth in 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/Public

  4. Paste the values in the .env.template at NEXT_PUBLIC_SUPABASE_URL for the URL and NEXT_PUBLIC_SUPABASE_ANON_KEY for the anon.

  5. Go to the SQL Editor Page inside the Supabase Dashboard

  6. Click User Management Starter and then run

  7. Change the .env.template to .env.local and all is done.

For more reference watch the Next Quickstart for Supabase

Demo

https://defaang.vercel.app/

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.

Resources

You can find YK's original tweet here.

Comments
  • Added new PR with optimized sign In and sign up functionality

    Added new PR with optimized sign In and sign up functionality

    Hey this one is the new PR I fixed the bugs and now you can switch between sign-in and sign-up very easily . let me know if you want any change for the google login button I am still working on it.

    opened by AdityaPainuli 48
  • [FEATURE] <Make a signup/login view>

    [FEATURE]

    Description

    The first step in terms of dev/coding for this project is, I think, the signup/login view.

    Signing up will be useful in case people want to associate their submission with their email address. In my opinion, it's important for people to have that option so that if the submission is not complete, we can go back and forth to make sure it's in a good enough state for us to feature on the website.

    good first issue 
    opened by ykdojo 45
  • [FEATURE] <A question submission box> (frontend)

    [FEATURE] (frontend)

    Quoting myself from #10:

    The first step is the signup flow as I mentioned at https://github.com/ykdojo/defaang/issues/14, and then after that, maybe a submission box? We can store them privately for now (probably in Supabase or Firebase), and once we have a few, we can make a view for showing those questions.

    This should be possible to implement as we have #33 and #34 implemented already.

    good first issue 
    opened by ykdojo 41
  • [FEATURE] Company Tags(question submission form)

    [FEATURE] Company Tags(question submission form)

    Description

    To improve the user experience(UI & UX), I think we must give the option of company tags(initially for only a few companies), otherwise, user will write companies' names in different ways. for example - someone may write facebook or facebok. So it will make the other User's experience inconsistent because they will be seeing the same company name in different ways. And for reset of the companies, manually input is ok.

    feat 
    opened by Gulshanaggarwal 22
  • [FEATURE] Create a new landing page where it shows more info about the website

    [FEATURE] Create a new landing page where it shows more info about the website

    Description

    We should have a new landing page where we show more clearly what the website is about, and why people might want to submit a question.

    The way it's going to work is:

    We'll officially launch it when we have, say, 100 approved questions.

    Until then, only people who have submitted at least one approved question should be able to see the other ones.

    We should explain this on the landing page, and also show a progress bar at some point to show how many questions we have so far.

    feat 
    opened by ykdojo 15
  • feat: rewrite signup and signin page with tailwind UI

    feat: rewrite signup and signin page with tailwind UI

    Fixes

    • a rewrite of the signup and signing page with tailwind UI

    Closes #100

    📄 Note to reviewers

    • used react-icons for social media icons on signup and sign in page

    📷 Screenshots

    Screenshot 2022-08-20 at 15-54-53 Defaang

    Screenshot 2022-08-20 at 15-54-28 Defaang

    Screenshot 2022-08-20 at 16-04-58 Defaang

    opened by olamide203 15
  • [BUG] Figure out a better way to redirect from the question submission page

    [BUG] Figure out a better way to redirect from the question submission page

    Description

    When you try to go to the question submission page before logging in, you're redirected to the signup page.

    This behavior is good, but with the current redirect method, the back button doesn't work.

    Is there a better way to redirect to avoid this issue?

    bug good first issue hacktoberfest 
    opened by ykdojo 14
  • [DX] <Clean up the root directory>

    [DX]

    Description

    The root directory has many dotfiles and config files, and it's not a very pleasant experience.

    We should clean up some of them so it's easier to get started contributing to this repo.

    opened by ykdojo 14
  • feat: add company tags

    feat: add company tags

    🛠️ Fixes Issue

    Closes #182

    ➕ Changes Introduced

    • Company input field is updated to a html datalist.

    📄 Note To Reviewers

    • Currently I have added only Faang companies name for default values but if the user not finds among listed companies, he/she can also manually type in the box .

    📷 Screenshots

    defaang_company_tags
    opened by Gulshanaggarwal 12
  • Create CODE_OF_CONDUCT.md

    Create CODE_OF_CONDUCT.md

    Addresses issue #89

    👨‍💻 Changes proposed

    Adds a CODE_OF_CODUCT

    I was just reading about how to add a code of conduct and it funneled me all the way to this pull request. So I'm just offering it to save someone else the time!

    opened by veganaize 12
  • Added more optimization in signin and signup page with improving ui

    Added more optimization in signin and signup page with improving ui

    Hey, 👋👋 there this is my first pr toward this repo I optimized sign in or sign-up page in which I made them in a component so that the page will not have to load every time user wants to switch between them only a certain component will load up also the supabase function for sign in and sign up is working fine as they are. I tried to make the UI good hope you like it.

    image image

    opened by AdityaPainuli 11
  • feat: Navbar fixed when user scrolls

    feat: Navbar fixed when user scrolls

    🛠️ Fixes Issue

    Closes #321

    ➕ Changes Introduced

    • Made navbar sticky.
    • When scrolled decreased navbar height.
    • Added background color and border to navbar when scrolled.

    📄 Note To Reviewers

    📷 Screenshots

    image image

    opened by joeshajan 1
  • [FEATURE] Sticky Navbar

    [FEATURE] Sticky Navbar

    Description

    It has been a good user experience to have a sticky navbar,

    Here's some key benefits , if you would like to add:

    • It attracts users to register/login with the site
    • User will Not have to search for something in the page, they can directly get whatever else they are looking for while being in middle of the page or scrolling
    feat 
    opened by rupali-codes 1
  • [PRODUCTION] Number of approved questions is not being reflected in the site

    [PRODUCTION] Number of approved questions is not being reflected in the site

    The project was recently transferred to this new organization, but Vercel might still be looking at the old address and not be able to deploy the current site. The Vercel bot, which provides feedback and previews, is also down. @ykdojo You may need to redeploy the project and create another one.

    opened by subhoghoshX 1
  • [FEATURE] Design for View Questions [How it works]

    [FEATURE] Design for View Questions [How it works]

    Description

    @ykdojo Any design for the View questions section? Please purpose some designs for that page so that we can take it forward. I think this section will be more interesting and more complicated too because it will contain the question, category, hints, scratchpad, and discussion section where users will get to know the other's opinions and strategic thinking for the specific question.

    feat 
    opened by Akshay1018 2
Owner
YK
CS Dojo on YouTube (1.8M+ subs)
YK
A curated collection of common interview questions to help you prepare for your next interview.

30 Seconds of Interviews A curated collection of common interview questions to help you prepare for your next interview. This README is built using ma

30 seconds 11k Jan 7, 2023
MLH Prep Project for Pod 22.JUL.PREP.3

Weather Application This is a React Application, which fetches data from Open Weather API & Open AI API then displays it on UI. The displayed data is

MLH Fellowship 8 Jul 28, 2022
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.

Front-end Developer Interview Questions This repository contains a number of front-end interview questions that can be used when vetting potential can

H5BP 56.1k Jan 4, 2023
Weirdest JavaScript Interview Questions & Answers

Part 3 - JavaScript Pro Tips - Learn with Sumit Table of Contents How to run Contact How to run Different lessons taught in the Youtube Tutorial are o

Learn with Sumit 34 Dec 28, 2022
Example questions for a manager interview

Manager Interview Questions A list of interview questions for manager roles. Follow Ryan Burgess on Twitter Management How would you describe your man

Ryan Burgess 136 Dec 12, 2022
List of 1000 JavaScript Interview Questions

JavaScript Interview Questions & Answers Click ⭐ if you like the project. Pull Requests are highly appreciated. Follow me @SudheerJonna for technical

Sudheer Jonna 13.3k Dec 31, 2022
Coding Interview Questions solved with Javascript 💡

©️ Coding Interview Questions Coding Interview Questions solved with Javascript ?? ?? Problems Name Description Tag Code Balanced Parentheses Check if

Lais Frigério 21 Dec 1, 2022
A cache that automatically removes the least-recently-used items

A cache that automatically removes the least-recently-used items

Evandro Leopoldino Gonçalves 9 Feb 27, 2022
Dynamic island style widget for displaying what you're recently played on Spotify.

Spotify Island Dynamic island style widget for displaying what you're recently played on Spotify. ?? Check the demo spotify-island.mov 1. Get Spotify

Nurçin 5 Nov 24, 2022
💯 Materials to help you rock your next coding interview

Tech Interview Handbook Credits: Illustration by @leftaligned Read on the website Black Lives Matter. Support the Equal Justice Initiative What is thi

Yangshun Tay 84k Dec 29, 2022
A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

Warm Up ?? ??‍?? A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snipp

Arhun Saday 34 Dec 12, 2022
A sequence of smart contracts to practice gas optimization. These are used as practice assignments for RareSkills.io and the Udemy Gas Optimization Course

RareSkills Gas Puzzles Puzzles that are ready for you Distribute (hard) Array Sum (easy) Escrow EscrowV2 Mint Presale Require (easy) Staking Contribut

RareSkills 240 Dec 31, 2022
Full-stack-todo-rust-course - we are building this out now in prep for the real course

full-stack-todo-rust-course wip - we are building this out now in prep for the real course Plan Come up with the requirements Create user stories Desi

Brooks Builds 89 Jan 2, 2023
This web application retrieves real live data from the Financial modeling prep API

This web application retrieves real live data from the Financial modeling prep API. It provides financial information about companies listed on Nasdaq 100 and Dow Jones Market indexes. All these companies are listed on the Home page. Users can filter these companies by searching for a specific company or by choosing one from the dropdown.

Sahar Abdel Samad 7 May 31, 2022
Prep Course correspondiente al contenido previo al examen de admisión Henry Challenge

Prep Course Introducción ¡Hola! Bienvenido/a al Prep Course para la carrera de Desarrollo Web Full Stack. En este curso introductorio podrás aprender

Soy Henry 21 Nov 10, 2022
Help Ukrainian people find jobs in the EU, navigate visas and translating CVs.

We invite Ukrainians to Europe Since the beginning of war in Ukraine, more than 3.7 million people have left Ukraine, while an estimated seven (7) mil

Dejan Jacimovic 14 Nov 12, 2022
A website where all the members can participate and ask questions. anybody can comment and give the answer.

A website where all the members can participate and ask questions. anybody can comment and give the answer. if the creator of the question feels that answer is correct then he/she can mark the answer as correct. The project is under construction. Open source contributions are most welcome.??

CODEINPYTHON 17 Dec 19, 2022