GithubHelp home page GithubHelp logo

tedsclub / firstnamebasis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prestonlimlianjie/firstnamebasis

0.0 1.0 0.0 2.78 MB

Firstnamebasis is a free digital business card creation and hosting service. Created by Loh Li Wei (iewil) and Preston Lim (prestonlimlianjie). https://firstnamebasis.app

License: MIT License

HTML 45.44% JavaScript 39.27% CSS 15.29%

firstnamebasis's Introduction

firstnamebasis

Firstnamebasis is a free digital business card creation and hosting service.

For users

Create your own digital business card at https://firstnamebasis.app.

For developers

To replicate the digital business card service, you need to use the following services:

  1. AWS S3
  2. AWS API Gateway and AWS Lambda

AWS S3

The main landing page as well as the individual business cards are hosted on S3 as static HTML pages.

The assets for the main landing page are found in the s3/public folder. The assets for the individual business cards are found in the s3/assets folder.

AWS API Gateway/Lambda

Upon submission of the form on the main landing page, a POST API is called from the client browser and is sent to the AWS API Gateway. The lambda function is then called via the API Gateway to do the following:

  • Create a new folder in the S3 bucket with a user-specific UUID to store all the relevant files
  • Upload the user's profile picture and company logo into the abovementioned folder
  • Render the user's individual business card HTML page
  • Generate the user's VCF
  • Generate the QR code pointing to the user's business card HTML page
  • Upload all the files generated into the user's folder

The relevant code and assets for the lambda function are in the lambda/functions/createBusinessCard folder.

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.