Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)