Skip to content
/ lejit Public

🐻😎⏱️ /lɪˈdʒɪt/ or "legit", a fullstack, TypeScript JIT SSR app

License

Notifications You must be signed in to change notification settings

pjnalls/lejit

Repository files navigation


🐻😎⏱️

Le JIT

/lɪˈdʒɪt/ ("legit"):

How to generate a barebones, fullstack-TypeScript app with JIT SSR
(Just-in-time, server-side rendering)
and no Node.js modules

via Deno 🦕


1. Install Deno

Please refer to Deno's installation documentation to install the latest version based upon your environment.

2. Install the Deno extension for your editor or IDE

Please refer to Deno's extension installation documentation for more information.

3. deno run a Fresh installation.

deno run -A -r https://fresh.deno.dev .

Reference for creating a project here.

Answer the prompts after running the command above and you'll receive a similar output in your terminal as displayed below.

$ deno run -A -r https://fresh.deno.dev .

 🍋 Fresh: The next-gen web framework. 

The target directory is not empty (files could get overwritten). Do you want to continue anyway? [y/N] y
Let's set up your new Fresh project.

Fresh has built in support for styling using Tailwind CSS. Do you want to use this? [y/N] y
Do you use VS Code? [y/N] y
The manifest has been generated for 5 routes and 1 islands.

Project initialized!

Run deno task start to start the project. CTRL-C to stop.

Stuck? Join our Discord https://discord.gg/deno

Happy hacking! 🦕


...

The following documentation has been generated by Fresh after the horizontal-rule below:


Fresh project

Your new Fresh project is ready to go. You can follow the Fresh "Getting Started" guide here: https://fresh.deno.dev/docs/getting-started

Usage

Make sure to install Deno: https://deno.land/manual/getting_started/installation

Then start the project:

deno task start

This will watch the project directory and restart as necessary.