Coder Social home page Coder Social logo

take-home-assessment's Introduction

Contacts

Introduction

This project is a full-stack application designed as a contact management system. It allows users to create, view, update, and delete contact details. The project demonstrates real-time data handling and responsive web design.

Technology Stack

  • React/Next.js
  • Supabase
  • Tailwind CSS
  • TypeScript
  • Netlify

Prerequisites

  • Node.js (v12.x or newer)
  • npm or yarn as package managers
  • Supabase account for setting up the backend (database and authentication)

Local Development Setup

  1. Clone the Repository

    git clone https://github.com/your-username/your-project-name.git
    cd your-project-name
  2. Install Dependencies

    npm install
  3. Environment Variables Create a .env.local file in the root directory and add the following keys:

    NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
    NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
    
  4. Run the Development Server

    npm run dev

    Navigate to http://localhost:3000 to view the app.

Folder Structure

  • /components: Reusable UI components like Button, Modal, etc.
  • /contacts: Contact page (default)
  • /public: Static assets like images and fonts.
  • /utils: Helpers used across the app
  • /ui: Generic components
  • /types: type definitions
  • /packages: Utility, validations container

Deployment

Deploying on Netlify:

  1. Set Up Your Netlify Account: If you haven't already, create an account.

  2. Connect Your GitHub Repository to Netlify: From the Netlify dashboard, import your project from GitHub by selecting "New Project", then your repository.

  3. Configure Environment Variables: In your Netlify project settings, configure all the environment variables you have in your .env.local file under Settings > Environment Variables.

take-home-assessment's People

Contributors

janckode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.