Quick Start

How to get your project running

Installation

To begin with GraceJS, you'll first need to install the package. Ensure you have Node.js installed, then run the following command in your terminal:

npm install @grace-js/grace

Or, if you prefer using yarn:

yarn add @grace-js/grace

Basic Server Setup

Here's how you can set up a simple server with GraceJS:

import { createGrace } from '@grace-js/grace';

// Create a GraceJS application
const app = createGrace();

// Listen on port 3000
app.listen(3000);

console.log('Server running on http://localhost:3000');

This code snippet creates a new GraceJS application and listens for incoming requests on port 3000.

Last updated