Giter Site home page Giter Site logo

resume's Introduction

Introduction

Make an resume editor, so that user can create/retreive/update/delete user profile, work experience, school education, etc.,

  1. localhost demo. run npm run dev and then vist http://localhost:5173/resume
  2. docker demo. run docker run -it -p 5173:80 --rm timoweave/resume_nginx:latest, and then visit http://localhost:5173/resume
  3. see demo Watch the video

Stack

  1. postgres dbms (good for relational db)
  2. supabase (with the rpc api, generated typescript from postgres)
  3. hook (to manage state)
  4. react (with chakra, router)

Directory

  1. .env has values to load supabase key/secret, which the developer must create. (see .env-example for example)
VITE_SUPABASE_URI='https://db.<MUST_GET_YOUR_SUPABSE_URI>.supabase.co'
VITE_SUPABASE_ANON_KEY='<MUST_GET_YOUR_SUPABASE_ANON_KEY>'
  1. main.tsx is the JSX entry point to <Resume/> (thru routes.tsx).
  2. api/ is for supbase rpc to communicate from frontend to backend, heavily templated for reusing with different tables.
  3. components/ is for all RSX components.
  4. hooks/ is for various hooks to manage resume editing possible.
  5. sql/ is for SQL tables (view, function, procedure, trigger, enum if any)
  6. doc/ for documentation...

Database

  1. see sql/postgres.sql for the SQL tables.
  2. see doc/resume-db-erd.png for the Entity Relational Diagram. DB ERD

Layout

  1. resume (root) this is the landing page for /resume route. here user will find three sections: profile, experience, and education) DB ERD
  2. Profile this section has profile itself plus address and phone. user can only update at the moment. But the database is design for multi-user use case. DB ERD
  3. Experience this section list the user work experiences, which can be added, updated, or deleted. DB ERD DB ERD DB ERD
  4. Education this sectoin list user school, which can be added, updated, or deleted. DB ERD DB ERD DB ERD

resume's People

Contributors

timoweave 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.