Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duskpoet/no-orm-example
Building web application without ORM
https://github.com/duskpoet/no-orm-example
backend databases orm
Last synced: 9 days 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 (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T13:06:26.000Z (over 2 years ago)
- Last Synced: 2024-11-06T09:18:52.480Z (about 2 months ago)
- Topics: backend, databases, orm
- Language: TypeScript
- Homepage:
- Size: 119 KB
- Stars: 3
- 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)