Making SQLite Easy with Codesphere!

Working with SQLite just got a whole lot easier! Codesphere is happy to announce a new UI for creating and managing your SQLite databases!

September 24, 2021 2 Min Read
Making SQLite Easy with Codesphere!
Making SQLite Easy with Codesphere!

Codesphere

From everyone in the Codesphere Team:)

Table of Contents

Working with SQLite just got a whole lot easier! Codesphere is happy to announce a new UI for creating and managing your SQLite databases!

Let’s talk about how!


Setting Up Your Database

To create a new database file, navigate to the infrastructure tab in Codesphere’s IDE and select SQLite.

You can then create and name a new database, and Codesphere will automatically create the DB file for your database:

We’ll name our database user_info, and then click on it to enter the SQL Query Editor Tab

The Query Editor Tab will allow you to easily run SQL queries to make ad-hoc insertions and deletions, view data, and set up and organize tables.


Making Queries in the Codesphere UI

To start off, we can create a table with:

CREATE TABLE user_info (
name varchar(255),
age int,
active boolean
)

To populate that table with a row:

INSERT INTO user_info
VALUES (‘John Doe’, 25, true);

And then we can grab those values with:

SELECT * FROM user_info


Making Queries from NodeJS

You’ll notice that the .db file is in your file tree.

In NodeJS, you can access this database by installing sqlite3

npm install sqlite3

And running the following code


So what project are you going to use SQLite for?

Let us know down below!

Happy Coding from your friends at Codesphere.

About the Author

Making SQLite Easy with Codesphere!

Codesphere

From everyone in the Codesphere Team:)

We are building the next generation of Cloud, combining Infrastructure and IDE in one place, enabling a seamless DevEx and eliminating the need for DevOps specialists.

More Posts

Changelog LTS Version Q3 25

Changelog LTS Version Q3 25

New cli, restricted domains, improved git integration, frontend improvements and more in the latest LTS version.

From Dev Chaos to Cloud Clarity: No More “It Works on My Machine”

From Dev Chaos to Cloud Clarity: No More “It Works on My Machine”

Tired of the “It works on my machine” nightmare? This blog explores how Codesphere eliminates environment drift by letting you develop in production-grade cloud workspaces. so your code runs the same everywhere, from dev to deploy. Build smarter, ship with confidence.

From Friction to Flow — How Codesphere Transforms Productivity

From Friction to Flow — How Codesphere Transforms Productivity

Discover how Codesphere transforms software development by unifying coding, CI/CD, deployment, and infrastructure into one seamless platform. Boost developer productivity, reduce DevOps overhead, and go from idea to live without switching tools or breaking flow.