1.0.1 • Published 1 year ago

sprintjs-core v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Logo

Make your REST APIs get a Sprint!

Sprint is a test backend framework developed with Typescript using the built-in Node.js API modules, all the code in this repo may change a lot, so take a lemonade 🍋 🥃, sit down and let's see how I created my own backend framework.

(Any similarities with express, are pure coincidence)

Installation

Install sprint with npm

  npm install sprintjs-core

Get Started

With Sprint, you can have your own server with custom routes running with just a few lines of code!

const sprint = require('sprintjs-core');

sprint.router.get('/', (req, res) => {
  res.end('Hello world from sprint!');
});

sprint.init(3000, () => {
  console.log(`Server is running on port 3000!`);
});

License

MIT

1.0.1

1 year ago

1.0.0

1 year ago