Skip to content
/ cpt2 Public

Generate lockdown exemption certificate on the spot 📄

License

Notifications You must be signed in to change notification settings

tzvc/cpt2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpt2

An on the spot lockdown exemption certificate generator 📄

Context

Pursuant to the decree n°2020-1310 of October 29th, 2020 prescribing rules necessary in the fight against the spread of the Covid-19 virus, citizen need a valid exemption form to justify being outside their homes. This form needs to be shown to any police or gendarmerie officer if they request it.

Demo

Available at https://cpt2.vercel.app?firstname=YourFirstname&lastname=YourLastname&birthday=12/12/1997&placeofbirth=YourBirthCity

Note: Replace query parameters in the URL with your own informations

In Action

Disclaimer ⚠️

This project was built soly to experiment with the follwowing technologies: Snowpack, Vercel Serverless Functions, FaunaDB. Use at your own risks.

How it works

This generator works the following way, uppon opening it will:

  • get the users infos from the URL (name, birthday, etc...)
  • get the current user location
  • reverse geocode an address 600m from that location
  • generate a valid certificate for that user and address as if it was made made 20min ago

About

Generate lockdown exemption certificate on the spot 📄

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published