Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsbh/express-typescript
Source code for the Building REST API with Express, TypeScript blog post series
https://github.com/rsbh/express-typescript
express jest typescript
Last synced: 21 days ago
JSON representation
Source code for the Building REST API with Express, TypeScript blog post series
- Host: GitHub
- URL: https://github.com/rsbh/express-typescript
- Owner: rsbh
- License: mit
- Created: 2020-10-03T17:18:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-02T05:50:27.000Z (almost 3 years ago)
- Last Synced: 2023-11-07T17:15:18.682Z (about 1 year ago)
- Topics: express, jest, typescript
- Language: TypeScript
- Homepage: https://rsbh.dev/blog
- Size: 430 KB
- Stars: 120
- Watchers: 6
- Forks: 39
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-typescript
Source code for the **Building REST API with Express, TypeScript** blog post series
## Post Links
1. [Building REST API with Express, TypeScript and Swagger](https://rsbh.dev/blog/rest-api-with-express-typescript)
2. [Building REST API with Express, TypeScript - Part 2: Docker Setup](https://rsbh.dev/blog/rest-api-express-typescript-docker)
3. [Building REST API with Express, TypeScript - Part 3: PostgreSQL and Typeorm](https://rsbh.dev/blog/rest-api-express-postgres-typeorm)
4. [Building REST API with Express, TypeScript - Part 4: Jest and unit testing](https://rsbh.dev/blog/rest-api-express-typescript-jest-testing)## Build from source
1. Clone the repo
```sh
git clone [email protected]:rsbh/express-typescript.git
cd express-typescript
```2. Install dependencies.
```sh
npm install
```3. Build the production server.
```sh
npm build
```4. Run the server.
```sh
npm start
```## Build Docker image locally
```sh
docker build -t express-typescript .
```## Run tests
```sh
npm test
```