Skip to content

It is a pdf generating application. It takes data from users and generates a pdf.

Notifications You must be signed in to change notification settings

guptag0808/kryzen-assignenment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Kryzen-biotech

It is a pdf generating application. It takes data from users and generates a pdf.

Frontend Deployed Link - https://kryzen-assignenment.vercel.app/

Backend Deployed Link -https://kryzen-a5fj.onrender.com

All Routes

  • POST /signup route - To register a new user's Details.
  • POST /login route - To login a already existed user.
  • POST /data route - To add user details .
  • GET /pdfGenerater route - To download pdf
  • POST /login route - To logout a login user.

Packages installed

  1. express - Used for making the server easier and more robust.
  2. nodemon - Used to automatically restart the application after changes happen in the file.
  3. cors - CORS allows servers to specify who can access their resources and under what conditions.
  4. mongoose - To connect MongoDB database with the server.
  5. dotenv - To secure MongoDB sensitive information.
  6. pdf-kit - To generate a pdf.
  7. jsonwebtoken - To generate a token.
  8. bcrypt - To hash the password provided by the user.

Steps to use webpage.

  1. Begin by registering yourself
  2. Use your registered credentials to log in securely.
  3. After redirecting to user details page, add details user details.
  4. After that user will be redirected to a preview page.
  5. where a preview of the pdf will be shown.
  6. By clicking the download pdf button user will get the pdf in dowloaded form