Skip to content

latitude-dev/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latitude starter project

This project is intended as a starting point for building Latitude applications. It is empty by default, but you can add your own data sources, models, and views to build a full-fledged application.

Developing

To start developing in this project, first ensure you have Node.js >= 18 installed. Then, install the Latitude CLI:

npm install -g @latitude-data/cli

After cloning the repository, run the following command to spin up the dev server:

latitude dev

This will start the server in development mode, and you can access the application at http://localhost:3000.

Project Structure

The project is structured as follows:

queries - This directory contains the SQL files that define the queries used to fetch data from the database.

views - This directory contains the HTML files that define the layout and interface of the application.

Additionally you'll find a sources.yml file in the queries directory. This file defines the data sources that the project uses. By default, it's set to use the DuckDB adapter to let you add CSV files as data sources. You can change this to use other adapters.

Documentation

To find more about how to use Latitude, refer to the documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages