Write a web server for nodejs
There is a project https://github.com/leon-mbs/pservernode
A server that is accessed by JavaScript from the browser (from the accounting system page)
if it is necessary to print a receipt or print a label on a product, and printing directly from the browser
using the system printer is not suitable in terms of quality
The problem arises if the print server (running where the printer is connected) is accessed from
a browser open on another computer (or tablet via wi-fi) in the network.
If the site from which the print server is accessed is hosted
the CORS issue is compounded by the problem of mixing http and https
It is necessary.
To check that the server works with CORS requests (JavaScript via AJAX and not the address bar or Postman) from another host in the network]
If there are problems – fix them.
To finalize so that the server can work in https mode.
support for both http (main) and https is needed with reconfiguration in the config.
generate an example of an ssl certificate (on IP 127.0.0.1) indicating where to insert it.
Write instructions for creating a self-signed certificate or a link to the instructions
Users of the program are usually NOT IT specialists, they cannot rebuild the program from the sources so it is necessary that
in htpps it can be switched in config.json (or make a separate config type config_ssl.json, let them rename the file)
Nothing needs to be done with the printer - there is a command /check to check the response of the print server
It is preferable that it works on both Windows and Linux, but the priority is Linux
-
937 13 0 Good day.
System administrator with over 5 years of experience.
Ready to set up a web server for you and generate a certificate.
For discussion, please write in private messages.
Current freelance projects in the category Javascript and Typescript
Online clothing storeNeed a developer for an online clothing store Looking for an experienced developer to create a full-fledged online clothing store with a drop model of sales. What needs to be done: 6 pages: home, product, cart, checkout, account, admin panel Login via Google account Cart and… HTML & CSS, Javascript and Typescript ∙ 11 hours 9 minutes back ∙ 64 proposals |
Full-stack development — Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY — Frontend… Javascript and Typescript, Web Programming ∙ 2 days 22 hours back ∙ 28 proposals |
Development of a photo book and photo frame constructor websiteProject Goal A modern website needs to be developed for ordering photo books, photo frames, and other personalized photo products. The main task of the project is to provide the client with the ability to independently create a ready-made layout of the product directly on the… Javascript and Typescript, Web Programming ∙ 4 days 14 hours back ∙ 96 proposals |
Team for a custom marketplace of funeral services.We are looking for a team to launch and develop a custom national marketplace for funeral services. Right away: we are not looking for solo freelancers, juniors, or "website builders." We need a strong product team at the middle+/senior level with real cases in… Javascript and Typescript, Web Programming ∙ 5 days 8 hours back ∙ 27 proposals |
Improvement of the existing Next.js/Supabase project: offers, CRM, analytics, AI chatThere is an active project WatchGenius — a luxury watch analytics platform with a catalog of models, price analytics, external offers, application forms, and an AI chat. The project has already been partially developed. We need not a website from scratch, but an experienced… Javascript and Typescript, Web Programming ∙ 7 days 10 hours back ∙ 55 proposals |