Skip to content

This repository demonstrates CRUD operations for user management using BunJS and ElysiaJS with bun:sqlite for data storage.

Notifications You must be signed in to change notification settings

SouhailKrs/BunJS-ElysiaJS-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BunJS ElysiaJS CRUD


Introduction

This repository effectively highlights the use of BunJS ( JavaScript runtime) , which has recently attained a stable, production-ready status as of September 8th 2023 . Paired with ElysiaJS, a TypeScript framework boasting an impressive 18-fold performance improvement over Express, as per their website claims, it showcases a streamlined User CRUD example. This demonstration underscores the seamless integration of Bun's integrated features such as password hashing and bun:sqlite for efficient data storage, all while exemplifying the remarkable speed and efficiency of ElysiaJS in practical use.

Build Process

  • Follow the Bun's Guide for initial setup.

  • You can find a Postman collection that contains all the API endpoints here.

  • For windows users, please refer to this Guide to download and install Bun.

  • Clone or download the project repository using the following command:

git clone https://github.com/SouhailKrs/BunJS-ElysiaJS-Auth-CRUD
  • Navigate to the project root directory and install the required dependencies:
bun install
  • Change your working directory to the project's source folder:
cd src
  • Finally, start the project with the following command:
bun index.ts

About

This repository demonstrates CRUD operations for user management using BunJS and ElysiaJS with bun:sqlite for data storage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published