mirror of
https://github.com/rjNemo/deno_hello
synced 2026-06-06 01:56:40 +00:00
No description
This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. |
||
|---|---|---|
| .idea | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| .gitpod.yml | ||
| cli.ts | ||
| CONTRIBUTING.md | ||
| deps.ts | ||
| LICENSE.md | ||
| Makefile | ||
| README.md | ||
| server.ts | ||
| view.ts | ||
Hello Server
Web app which returns the iconic Hello, World in various locales
Features
- Print hello world in a random locale
- Select the locale by id
- Use with CLI
- Basic HTTP server
- HTML frontend
- Deployment
Installation
On macOS use HomeBrew to install deno then update to the latest version.
brew install deno
deno upgrade
⚙️ Configuration
Create a basic configuration file using:
code .vscode/settings.json
with the following content
{
"deno.enable": true,
"deno.unstable": true,
"deno.lint": true,
"deno.import_intellisense_origins": {
"https://deno.land": true
},
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[typescriptreact]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
}
🚀 Run
See Makefile for available scripts. The application can run either via CLI or a basic HTTP server.
🧪 Tests
make tests
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Ruidy - Initial work - Ruidy
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details