Init
This commit is contained in:
9
.copilot/used-promts/01.Md
Executable file
9
.copilot/used-promts/01.Md
Executable file
@@ -0,0 +1,9 @@
|
||||
# A web application
|
||||
|
||||
Create a simple web application using these Requirements:
|
||||
- nim programming language
|
||||
- single binary output
|
||||
- HTMX for frontend interactivity
|
||||
- TUI.CSS css framework for a retro look
|
||||
|
||||
create a scaffolding for the project and explain your choices.
|
||||
13
.copilot/used-promts/02.md
Normal file
13
.copilot/used-promts/02.md
Normal file
@@ -0,0 +1,13 @@
|
||||
Change the asset handling to the following requirements:
|
||||
- 2 Kinds of static assets
|
||||
- Compiled into the binary (for example, images, css, js) called "static"
|
||||
- Served from a defined folder (for example, user uploaded files) called "assets"
|
||||
- statics are compiled into the binary and are served from a single handler
|
||||
- Assets are served from a defined folder are served from a different handler
|
||||
- The static handler uses a table to store all the static files
|
||||
- The assets handler serves files from a defined folder on the filesystem
|
||||
|
||||
Additional requirements:
|
||||
- make the htmx lib a static asset
|
||||
- add a www folder for the assets
|
||||
- add a demo asset file to the www folder
|
||||
Reference in New Issue
Block a user