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.
-
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