https://github.com/spersico/yatse-apis
Starter Typescript Express API
https://github.com/spersico/yatse-apis
Last synced: 3 months ago
JSON representation
Starter Typescript Express API
- Host: GitHub
- URL: https://github.com/spersico/yatse-apis
- Owner: spersico
- Created: 2019-03-08T21:28:34.000Z (over 6 years ago)
- Default Branch: mongo
- Last Pushed: 2023-01-11T22:23:33.000Z (over 2 years ago)
- Last Synced: 2024-05-30T16:44:20.343Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 187 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yet Another TS-Express APIs
## Description
This repository was made initialy following a [Express Typescript tutorial](https://wanago.io/courses/typescript-express-tutorial/), but at some point I started disagreeing with the way that was done, and started changing and fixing a LOT of stuff, updating all the libraries, improving the build flow, and ended up making my own thing.
The [_mongo_](https://github.com/spersico/yatse-apis/tree/mongo) branch contains the version with **MongoDB**.
[TODO](https://github.com/spersico/yatse-apis/issues): The [_postgres_](https://github.com/spersico/yatse-apis/tree/postgres) branch contains the version with **PostgreSQL**.
## Installation
I'm assuming that, for the mongo version you've got a mongoDB instance running on port 27017, and for postgress (TODO)...
```bash
npm i
```## Build & run
```bash
npm run build & npm start
```## Run in dev mode
```bash
npm run dev
```