Skip to content

RingierIMU/ringier-weather-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ringier Silly Aggregator

Getting Started

This project is a simple HTTP server with routing capabilities. Follow the instructions below to run the server and execute tests.

Running the Server

To start the server, use the following command:

deno run --allow-net run.ts

The server will start on port 8080 and handle defined routes.

Running Tests

The tests handle starting and stopping the server internally. To run the tests, use:

deno test --allow-net

This command will execute the tests defined in app_test.ts, which will start the server, perform tests, and then stop the server.

Notes

  • run.ts: Entry point to start the server.
  • routes.ts: Defines route patterns and handlers.
  • server.test.ts: Contains tests for the routes. The server is started and stopped within the test code, so you don't need to manually run the server before testing.

For more information about Deno and its features, visit the Deno documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published