Giter VIP home page Giter VIP logo

certificates's Introduction

neuefische certificates

API based certificate creation

This micro service creates unsigned neuefische certificate pdfs based on the Talent API.

Setup

npm install

This will install the dependencies required to run this project.

Create a .env file based on the .env.example.

KEY VALUE
API_URL Link to the unofficial student API endpoint
PORT (Optional) Port for the dev environment (defaults to 3030)

The API_URL is used to fetch student data by id. Please ask the maintainers for a valid url.

Development

npm run dev

This will run the server on localhost:3030.

To generate a certificate for a student, visit http://localhost:3030/?id={studentId}&course={courseId}.

param explanation example
studentId studentId that is used in the talent app 73df25e3-abc1-1234-b270-a480e38ac6dc
courseId courseId is defined in src/assets/samples/courses.json hh-web-21-3

You can find the studentId by looking at the URL of the student profile.

Example:
https://talents.neuefische.com/student/73df25e3-c6db-4267-b270-a480e38ac6dc
The studentId is 73df25e3-c6db-4267-b270-a480e38ac6dc.

The courseId is the id of the course you want to select from src/assets/samples/courses.json. In the future, we like to fetch the course from the talent API.

Add new course

Right now, we can not get course data from the talent API. In the meantime, src/assets/samples/courses.json is used to define course data. If you like to add a new course, please add it to the src/assets/samples/courses.json and create a pull request.

Deployment

A docker image is available for deployment. The same .env variables are needed for the deployment.

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.