{"id":19045342,"url":"https://github.com/vandenberghinc/vweb","last_synced_at":"2025-04-23T23:44:04.587Z","repository":{"id":177629654,"uuid":"647234600","full_name":"vandenberghinc/vweb","owner":"vandenberghinc","description":"Easily create websites or REST APIs in javascript with vweb. Including a frontend api for building website's in an objective SwiftUI like manner. Supports payments using paddle.","archived":false,"fork":false,"pushed_at":"2024-10-10T16:00:59.000Z","size":59672,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T08:39:34.766Z","etag":null,"topics":["api","cpp","http","https","javascript","js","rest-api","vinc","vlib","website"],"latest_commit_sha":null,"homepage":"https://vandenberghinc.github.io/vweb/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vandenberghinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-30T10:49:24.000Z","updated_at":"2024-10-10T16:01:13.000Z","dependencies_parsed_at":"2025-04-17T20:10:16.042Z","dependency_job_id":null,"html_url":"https://github.com/vandenberghinc/vweb","commit_stats":null,"previous_names":["vandenberghinc/vweb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandenberghinc%2Fvweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandenberghinc%2Fvweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandenberghinc%2Fvweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandenberghinc%2Fvweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vandenberghinc","download_url":"https://codeload.github.com/vandenberghinc/vweb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535057,"owners_count":21446503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cpp","http","https","javascript","js","rest-api","vinc","vlib","website"],"created_at":"2024-11-08T22:49:52.836Z","updated_at":"2025-04-23T23:43:56.432Z","avatar_url":"https://github.com/vandenberghinc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/vandenberghinc/vweb/blob/main/dev/media/icon/stroke.png?raw=true\" alt=\"VWeb\" width=\"500\"\u003e\n\u003c/p\u003e  \nEasily create websites or REST APIs in pure c++ with the library VWeb. Website views are built in a SwiftUI like manner. The backend can run on on HTTP only or on HTTP and HTTPS both.\n\u003cbr\u003e\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/version-1.2.6-orange\" alt=\"Bergh-Encryption\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/std-c++20-orange\" alt=\"Bergh-Encryption\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/status-maintained-forestgreen\" alt=\"Bergh-Encryption\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/dependencies-vlib-yellow\" alt=\"Bergh-Encryption\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/OS-MacOS \u0026 Linux-blue\" alt=\"Bergh-Encryption\"\u003e\n\u003c/p\u003e \n\u003cbr\u003e\u003cbr\u003e\n\n## In Development.\nThis library is currently still in development.\n\u003cbr\u003e\u003cbr\u003e\n\n## Documentation.\nFull documentation at [Github Pages](https://vandenberghinc.github.io/vweb).\n\n## Project hierarchy.\nWhen creating a website using vweb it is advised to create the following project hierarchy. The `server.js` file must either reside at `./server/server.js` or at `./server.js`.\n```\nwebsite/\n    server/\n        config.js - Use this file to define the Server object and export it in module.exports either under the attribute `server` or as the export itself.\n        endpoints.js - For example use this file to define your endpoints.\n        server.js - Use this file to import the server and require all endpoints. This file must be named server.js for the vweb cli.\n    ...\n```\n\n###### config.js\n```javascript\n// Imports.\nconst vweb = require(\"@vandenberghinc/vweb\");\n\n// Initialize the server.\nconst server = new vweb.Server({\n    ...\n})\n\n// Exports.\nmodule.exports = {\n    server,\n};\n```\n\n###### endpoints.js\n```javascript\n// Imports.\nconst {server} = require(\"./config.js\");\n\n// Create an endpoint.\nserver.endpoint({\n    ...\n});\n```\n\n###### server.js\n```javascript\n// Imports.\nconst {server} = require(\"./config.js\");\n\n// Load endpoints.\nrequire(\"./endpoints.js\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvandenberghinc%2Fvweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvandenberghinc%2Fvweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvandenberghinc%2Fvweb/lists"}