https://github.com/duskpoet/no-orm-example
Building web application without ORM
https://github.com/duskpoet/no-orm-example
backend databases orm
Last synced: about 1 year ago
JSON representation
Building web application without ORM
- Host: GitHub
- URL: https://github.com/duskpoet/no-orm-example
- Owner: duskpoet
- Created: 2022-08-06T13:32:31.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T13:06:26.000Z (almost 4 years ago)
- Last Synced: 2025-05-05T16:17:54.024Z (about 1 year ago)
- Topics: backend, databases, orm
- Language: TypeScript
- Homepage:
- Size: 119 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building web application without ORM
This repo contains an article and example code on the topic
## Read an article
Please, I will be delighted :) [link](./article.md)
## Check the code
All of the code sits in `src` directory
## Run the application
Add connection string to the `.env` like `DATABASE_URL=` in the root directory. You can use [Neon](https://neon.tech/) or [docker](https://hub.docker.com/_/postgres) for a quick postgres setup.
```
yarn && yarn migrate && yarn start
```
```
curl https://localhost:3000/users
```
## Run tests
```
yarn test
```
## Share your thoughts
[Discuss](https://github.com/duskpoet/no-orm-example/discussions/1)